MultiVendingToken
/contracts/testing/custom/MultiVendingToken.sol

event

AcceptDividends d67b9f17

inputs0uint256tokenId
inputs1uint256value
event

Approval 69e4aaf2

inputs0uint256tokenId
inputs1addressowner
inputs2addressspender
inputs3uint256value
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
event

ReleaseDividendsRights ffc571bb

inputs0uint256tokenId
inputs1address_for
inputs2uint256value
event

Transfer f2dbd98d

inputs0uint256tokenId
inputs1addressfrom
inputs2addressto
inputs3uint256value
fallback, payable

MultiVendingToken

function, payable

acceptDividends 31580446

Accept dividends

inputs0uint256_tokenId
function, payable

acceptDividends 8f371876

Accept dividends

inputs0uint256_tokenId
inputs1uint256_tvalue
function, constant

allowance 0d550b75

Function to check the amount of tokens that an owner allowed to a spender.

inputs0uint256_tokenId

subtoken identifier

inputs1address_owner

The address which owns the funds.

inputs2address_spender

The address which will spend the funds.

outputs0uint256
function

approve 8cb0a511

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: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
inputs0uint256_tokenId

uint is subtoken identifier

inputs1address_spender

The address which will spend the funds.

inputs2uint256_value

The amount of tokens to be spent.

function, constant

balanceOf 3656eec2

Gets the balance of the specified address

inputs0uint256_tokenId

is subtoken identifier

inputs1address_owner

address to query the balance of

outputs0uint256
function, constant

decimals 313ce567

function

decreaseApproval bb88c016

Decrease the amount of tokens that an owner allowed to a spender.

inputs0uint256_tokenId

subtoken identifier.

inputs1address_spender

The address which will spend the funds.

inputs2uint256_subtractedValue

The amount of tokens to decrease the allowance by.

function, constant

dividendsRightsOf c9a0ab7e

Gets the dividends rights of the specified address.

inputs0uint256_tokenId

subtoken identifier

inputs1address_owner

The address to query the the balance of.

outputs0uint256balance
function

increaseApproval c9101f6c

Increase the amount of tokens that an owner allowed to a spender.

inputs0uint256_tokenId

subtoken identifier.

inputs1address_spender

The address which will spend the funds.

inputs2uint256_addedValue

The amount of tokens to increase the allowance by.

function

init a5843f08

init new subtoken a specified address

inputs0uint256_tokenId

subtoken identifier

inputs1uint256_value

uint the amount of tokens to be minted

function, constant

name 06fdde03

function, constant

owner 8da5cb5b

function

releaseDividendsRights 7ba47d9a

release dividends rights

inputs0uint256_tokenId

subtoken identifier

inputs1uint256_value

The amount of dividends to be transferred.

function

releaseDividendsRightsForce ff6350fc

release dividends rights for a specified address

inputs0uint256_tokenId
inputs1address_for

The address to transfer for.

inputs2uint256_value

The amount of dividends to be transferred.

function, constant

symbol 95d89b41

function, constant

totalSupply bd85b039

Gets the total amount of tokens stored by the contract

inputs0uint256_tokenId

is subtoken identifier

outputs0uint256
function

transfer f8548e36

transfer token for a specified address

inputs0uint256_tokenId

subtoken identifier

inputs1address_to

The address to transfer to.

inputs2uint256_value

The amount to be transferred.

function

transferFrom 1c0f12b6

Transfer tokens from one address to another

inputs0uint256_tokenId

subtoken identifier

inputs1address_from

address The address which you want to send tokens from

inputs2address_to

address The address which you want to transfer to

inputs3uint256_value

uint the amount of tokens to be transferred

function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0addressnewOwner

The address to transfer ownership to.