Solidity version 0.4.25+commit.59dbf8f1
nonpayable
Type | Name |
---|---|
uint256 | id |
constant view
constant view
constant view
constant view
constant view Returns the evidence body, the address of the submitter and the evidence submission timestamp in seconds. Throws if evidence does not exist.
Type | Name |
---|---|
uint256 | caseId |
uint256 | evidenceId |
constant view
constant view
constant view
constant view
Type | Name |
---|---|
uint256 | caseId |
address | account |
nonpayable
Type | Name |
---|---|
uint256 | id |
string | salt |
bool | vote |
payable payable
Type | Name |
---|---|
uint256 | id |
string | body |
payable payable Called by client smart contract to file a new case. Must include a payment bigger or equal to minFee Throws if sender is not a contract, fee is smaller than minFee or duration is smaller than minCaseDuration.
Type | Name |
---|---|
string | allegation |
string | firstEvidence |
string | agreement |
address | defendant |
uint256 | duration |
uint256 | appeal |
payable payable
constant pure
Type | Name |
---|---|
string | salt |
bool | vote |
payable payable
Type | Name |
---|---|
uint256 | id |
nonpayable
Type | Name |
---|---|
uint256 | id |
uint256 | weight |
bytes32 | h |
nonpayable
constant view Returns a string indicating the current status of a case. Possible return values are: trial, commit, reveal, unfinalized, yes, no and undecided. Throws if case does not exist.
Type | Name |
---|---|
uint256 | id |
nonpayable
Type | Name |
---|---|
address | tokenContract |
uint256 | _minFee |
uint256 | _minCaseDuration |
uint256 | _commitDuration |
uint256 | _revealDuration |
uint256 | _juryJoinDuration |
Type | Name |
---|---|
address | clientContract |
uint256 | caseId |
uint256 | fee |
string | allegation |
string | agreement |
address | requester |
address | defendant |
uint256 | duration |
uint256 | timestamp |
uint256 | appeal |
Type | Name |
---|---|
address | account |
uint256 | caseId |
uint256 | fee |
uint256 | timestamp |
Type | Name |
---|---|
address | submitter |
uint256 | caseId |
uint256 | evidenceId |
string | body |
uint256 | timestamp |
Type | Name |
---|---|
address | account |
uint256 | weight |
uint256 | timestamp |
Type | Name |
---|---|
address | account |
uint256 | timestamp |
Type | Name |
---|---|
address | account |
uint256 | caseId |
uint256 | weight |
uint256 | timestamp |
Type | Name |
---|---|
address | account |
uint256 | caseId |
bool | vote |
Type | Name |
---|---|
uint256 | caseId |
uint8 | verdict |
uint8 | percentage |
Solidity version 0.4.25+commit.59dbf8f1
constant view
nonpayable Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: ethereum/EIPs#20 (comment)
Type | Name |
---|---|
address | spender |
uint256 | value |
constant view Total number of tokens in existence
nonpayable Transfer tokens from one address to another
Type | Name |
---|---|
address | from |
address | to |
uint256 | value |
constant view
nonpayable Increase the amount of tokens that an owner allowed to a spender. approve should be called when allowed_[_spender] == 0. To increment allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol
Type | Name |
---|---|
address | spender |
uint256 | addedValue |
nonpayable Allows only the owner to mint an amount of tokens and assign it to an account. This encapsulates the modification of balances such that the proper events are emitted.
Type | Name |
---|---|
address | account |
uint256 | amount |
constant view Gets the balance of the specified address.
Type | Name |
---|---|
address | owner |
nonpayable Allows the current owner to relinquish control of the contract.
constant view
constant view
constant view
nonpayable Decrease the amount of tokens that an owner allowed to a spender. approve should be called when allowed_[_spender] == 0. To decrement allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol
Type | Name |
---|---|
address | spender |
uint256 | subtractedValue |
nonpayable Allows the current owner to transfer control of the contract to a newOwner.
Type | Name |
---|---|
address | to |
uint256 | value |
nonpayable Allows only the owner to (un)freeze an account. Used by the Dcourt core to freeze accounts in order to make them eligible for dividends and unfreeze them after they opt out.
Type | Name |
---|---|
address | account |
bool | value |
constant view Function to check the amount of tokens that an owner allowed to a spender.
Type | Name |
---|---|
address | owner |
address | spender |
constant view Checks whether or not an account is frozen by owner Used by the Dcourt core to check whether or not this address is eligible for dividends.
Type | Name |
---|---|
address | account |
nonpayable Allows the current owner to transfer control of the contract to a newOwner.
Type | Name |
---|---|
address | newOwner |
Type | Name |
---|---|
address | previousOwner |
Type | Name |
---|---|
address | previousOwner |
address | newOwner |
Type | Name |
---|---|
address | from |
address | to |
uint256 | value |
Type | Name |
---|---|
address | owner |
address | spender |
uint256 | value |
Solidity version 0.4.25+commit.59dbf8f1
Standard ERC20 token
nonpayable Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: ethereum/EIPs#20 (comment)
Type | Name |
---|---|
address | spender |
uint256 | value |
constant view Total number of tokens in existence
nonpayable Transfer tokens from one address to another
Type | Name |
---|---|
address | from |
address | to |
uint256 | value |
nonpayable Increase the amount of tokens that an owner allowed to a spender. approve should be called when allowed_[_spender] == 0. To increment allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol
Type | Name |
---|---|
address | spender |
uint256 | addedValue |
constant view Gets the balance of the specified address.
Type | Name |
---|---|
address | owner |
nonpayable Decrease the amount of tokens that an owner allowed to a spender. approve should be called when allowed_[_spender] == 0. To decrement allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol
Type | Name |
---|---|
address | spender |
uint256 | subtractedValue |
nonpayable Transfer tokens from one address to another
Type | Name |
---|---|
address | to |
uint256 | value |
constant view Function to check the amount of tokens that an owner allowed to a spender.
Type | Name |
---|---|
address | owner |
address | spender |
Type | Name |
---|---|
address | from |
address | to |
uint256 | value |
Type | Name |
---|---|
address | owner |
address | spender |
uint256 | value |
Solidity version 0.4.25+commit.59dbf8f1
Solidity version 0.4.25+commit.59dbf8f1
Elliptic curve signature operations
Solidity version 0.4.25+commit.59dbf8f1
Ownable
nonpayable Allows the current owner to relinquish control of the contract.
constant view
constant view
nonpayable Allows the current owner to transfer control of the contract to a newOwner.
Type | Name |
---|---|
address | newOwner |
nonpayable
Type | Name |
---|---|
address | previousOwner |
Type | Name |
---|---|
address | previousOwner |
address | newOwner |
Solidity version 0.4.25+commit.59dbf8f1
SafeMath