Methods
changeCOUNCIL_AMOUNT
- changeCOUNCIL_AMOUNT(_COUNCIL_AMOUNT: string | number): ContractSendMethod
Parameters
_COUNCIL_AMOUNT: string | number
Returns ContractSendMethod
changeDisputableTime
- changeDisputableTime(_disputableTime: number): ContractSendMethod
Parameters
Returns ContractSendMethod
changeMergeCreatorFeeShare
- changeMergeCreatorFeeShare(_mergeCreatorFeeShare: number): ContractSendMethod
Parameters
_mergeCreatorFeeShare: number
Returns ContractSendMethod
changePercentageNeededForDispute
- changePercentageNeededForDispute(_percentageNeededForDispute: number): ContractSendMethod
Parameters
_percentageNeededForDispute: number
Returns ContractSendMethod
changeRedeemTime
- changeRedeemTime(_redeemTime: number): ContractSendMethod
Parameters
Returns ContractSendMethod
claimGovernor
- claimGovernor(): ContractSendMethod
Returns ContractSendMethod
closeIssue
- closeIssue(_issueID: number, _mergeID: number): ContractSendMethod
Parameters
_issueID: number
_mergeID: number
Returns ContractSendMethod
delegateOracles
- delegateOracles(_tokenAmount: string | number, _delegatedTo: string): ContractSendMethod
Parameters
_tokenAmount: string | number
_delegatedTo: string
Returns ContractSendMethod
disputeMerge
- disputeMerge(_issueID: number, _mergeID: number): ContractSendMethod
Parameters
_issueID: number
_mergeID: number
Returns ContractSendMethod
disputesForMergeByAddress
- disputesForMergeByAddress(issueId: number, proposalId: number, address: string): ContractCallMethod<number>
Parameters
issueId: number
proposalId: number
address: string
getIssueByCID
- getIssueByCID(_issueCID: string): ContractCallMethod<{ 0: number; 1: string; 2: number; 3: number; 4: string; 5: number; 6: boolean; 7: boolean; 8: boolean }>
Parameters
Returns ContractCallMethod<{ 0: number; 1: string; 2: number; 3: number; 4: string; 5: number; 6: boolean; 7: boolean; 8: boolean }>
getIssueById
- getIssueById(_issueID: number): ContractCallMethod<{ 0: number; 1: string; 2: number; 3: number; 4: string; 5: number; 6: boolean; 7: boolean; 8: boolean }>
Parameters
Returns ContractCallMethod<{ 0: number; 1: string; 2: number; 3: number; 4: string; 5: number; 6: boolean; 7: boolean; 8: boolean }>
getMergeById
- getMergeById(_issueID: number, _mergeId: number): ContractCallMethod<{ 0: number; 1: number; 2: number; 3: string[]; 4: number[]; 5: string }>
Parameters
_issueID: number
_mergeId: number
Returns ContractCallMethod<{ 0: number; 1: number; 2: number; 3: string[]; 4: number[]; 5: string }>
getOraclesSummary
- getOraclesSummary(_address: string): ContractCallMethod<{ 0: number; 1: number[]; 2: string[]; 3: number }>
isMergeDisputed
Parameters
_issueID: number
_mergeID: number
isMergeInDraft
Parameters
_issueID: number
_mergeID: number
issues
- issues(v1: number): ContractCallMethod<{ 0: number; 1: string; 2: number; 3: number; 4: string; 5: number; 6: boolean; 7: boolean; 8: boolean }>
Parameters
Returns ContractCallMethod<{ 0: number; 1: string; 2: number; 3: number; 4: string; 5: number; 6: boolean; 7: boolean; 8: boolean }>
lock
- lock(_tokenAmount: string | number): ContractSendMethod
Parameters
_tokenAmount: string | number
Returns ContractSendMethod
openIssue
- openIssue(_cid: string, _tokenAmount: string | number): ContractSendMethod
Parameters
_cid: string
_tokenAmount: string | number
Returns ContractSendMethod
percentageNeededForDispute
proposeGovernor
- proposeGovernor(proposedGovernor: string): ContractSendMethod
Parameters
Returns ContractSendMethod
proposeIssueMerge
- proposeIssueMerge(_issueID: number, _prAddresses: string[], _prAmounts: number[] | string[]): ContractSendMethod
Parameters
_issueID: number
_prAddresses: string[]
_prAmounts: number[] | string[]
Returns ContractSendMethod
recognizeAsFinished
- recognizeAsFinished(_issueId: number): ContractSendMethod
Parameters
Returns ContractSendMethod
redeemIssue
- redeemIssue(_issueId: number): ContractSendMethod
Parameters
Returns ContractSendMethod
unlock
- unlock(_tokenAmount: string | number, _from: string): ContractSendMethod
Parameters
_tokenAmount: string | number
_from: string
Returns ContractSendMethod
updateIssue
- updateIssue(_issueId: number, _newTokenAmount: string | number): ContractSendMethod
Parameters
_issueId: number
_newTokenAmount: string | number
Returns ContractSendMethod