ChronoBank Asset With Fee implementation contract. /// Asset implementation contract that takes percent fee on top of every transfer. Fee amount is always rounded up. /// Note: all the non constant functions return false instead of throwing in case if state change didn't happen yet.
/contracts/core/platform/ChronoBankAssetWithFee.sol

event

Paused 0cb09dc7

inputs0bytes32symbol
event

Restricted d097e4d8

inputs0bytes32symbol
inputs1addressrestricted
event

Unpaused d05bfc22

inputs0bytes32symbol
event

Unrestricted 791b5fd6

inputs0bytes32symbol
inputs1addressunrestricted
function

__approve 7b7054c8

Passes execution into virtual function. Can only be called by assigned asset proxy.

function is final, and must not be overridden.

inputs0address_spender
inputs1uint256_value
inputs2address_sender
outputs0bool
function, payable

__process f2d6e0ab

inputs0bytes
inputs1address
function

__transferFromWithReference ec698a28

Passes execution into virtual function. Can only be called by assigned asset proxy.

function is final, and must not be overridden.

inputs0address_from
inputs1address_to
inputs2uint256_value
inputs3string_reference
inputs4address_sender
outputs0bool
function

__transferWithReference 6a630ee7

Passes execution into virtual function. Can only be called by assigned asset proxy.

function is final, and must not be overridden.

inputs0address_to
inputs1uint256_value
inputs2string_reference
inputs3address_sender
outputs0bool
function, constant

blacklist f9f92be4

inputs0address
function, constant

calculateFee 99a5d747

Return fee that needs to be taken based on specified amount. Fee amount is always rounded up.

inputs0uint256_value
outputs0uint256
function

changeContractOwnership 557f4bc9

Prepares ownership pass. * Can only be called by current owner.

inputs0address_to

address of the next owner. 0x0 is not allowed.

outputs0bool
function

claimContractOwnership 4592cd1d

Finalize ownership pass. * Can only be called by pending owner.

outputs0bool
function, constant

contractOwner ce606ee0

function

destroy 83197ef0

Only owner can call it

Destroy contract and scrub a data

function

emitPaused 7df5fd35

inputs0bytes32_symbol
function

emitRestricted 339d8b45

inputs0bytes32_symbol
inputs1address_restricted
function

emitUnpaused 22ccf678

inputs0bytes32_symbol
function

emitUnrestricted 8c8f4880

inputs0bytes32_symbol
inputs1address_unrestricted
function, constant

eventsHistory f07629f8

Gets eventsHistory contract used for events' triggering

function, constant

feeAddress 41275358

function, constant

feePercent 7fd6f15c

function

init 19ab453c

Sets asset proxy address. Can be set only once.

function is final, and must not be overridden.

inputs0address_proxy

asset proxy contract address.

outputs0bool
function

pause 8456cb59

called by the owner to pause, triggers stopped state Only admin is allowed to execute this method.

function, constant

paused 5c975abb

function, constant

pendingContractOwner 5aa77d3c

function, constant

proxy ec556889

function

restrict be57771a

Lifts the ban on transfers for given addresses

inputs0address[]_restricted
function

setFee 1ab971ab

Sets fee percent value. Can be changed multiple times

inputs0uint32_feePercent

fee percent, 1 is 0.01%, 10000 is 100%.

function

setFeeAddress 8705fcd4

Sets fee address separate from setting fee percent value. Can be set only once

inputs0address_feeAddress

fee collecting address

outputs0bool
function

setupFee ae8800fa

Sets fee collecting address and fee percent.

inputs0address_feeAddress

fee collecting address.

inputs1uint32_feePercent

fee percent, 1 is 0.01%, 10000 is 100%.

outputs0bool
function

transferContractOwnership a843c51f

Direct ownership pass without change/claim pattern. Can be invoked only by current contract owner

inputs0address_to

the next contract owner

outputs0bool
function

unpause 3f4ba83a

called by the owner to unpause, returns to normal state Only admin is allowed to execute this method.

function

unrestrict ee47af00

Revokes the ban on transfers for given addresses

inputs0address[]_unrestricted