sEUR

sEUR

new sEUR(contractSettings)

Source:
Parameters:
Name Type Description
contractSettings ContractSettings

Methods

acceptOwnership(txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
txParams TxParams

allowance(owner, spender)

Source:
Call (no gas consumed, doesn't require signer)
Parameters:
Name Type Description
owner String.<EthAddress>
spender String.<EthAddress>
Returns:
BigNumber

approve(spender, value, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
spender String.<EthAddress>
value BigNumber
txParams TxParams
Returns:
boolean

balanceOf(account)

Source:
Call (no gas consumed, doesn't require signer)
Parameters:
Name Type Description
account String.<EthAddress>
Returns:
BigNumber

burn(account, amount, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
account String.<EthAddress>
amount BigNumber
txParams TxParams

currencyKey()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
bytes4

decimals()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
Number

feePool()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

initiateSelfDestruct(txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
txParams TxParams

initiationTime()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
BigNumber

issue(account, amount, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
account String.<EthAddress>
amount BigNumber
txParams TxParams

name()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

nominatedOwner()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

nominateNewOwner(_owner, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
_owner String.<EthAddress>
txParams TxParams

owner()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

proxy()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

selfDestruct(txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
txParams TxParams

SELFDESTRUCT_DELAY()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
BigNumber

selfDestructBeneficiary()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

selfDestructInitiated()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
boolean

setFeePool(_feePool, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
_feePool String.<EthAddress>
txParams TxParams

setMessageSender(sender, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
sender String.<EthAddress>
txParams TxParams

setProxy(_proxy, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
_proxy String.<EthAddress>
txParams TxParams

setSelfDestructBeneficiary(_beneficiary, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
_beneficiary String.<EthAddress>
txParams TxParams

setSynthetix(_synthetix, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
_synthetix String.<EthAddress>
txParams TxParams

setTokenState(_tokenState, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
_tokenState String.<EthAddress>
txParams TxParams

symbol()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

synthetix()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

terminateSelfDestruct(txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
txParams TxParams

tokenState()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
String

totalSupply()

Source:
Call (no gas consumed, doesn't require signer)
Returns:
BigNumber

transfer(to, value, data, txParams)

Source:
Override ERC20 transfer function in order to subtract the transaction fee and send it to the fee pool for SNX holders to claim.
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
to String.<EthAddress>
value BigNumber
data bytes
txParams TxParams
Returns:
boolean

transfer(to, value, txParams)

Source:
Override ERC20 transfer function in order to subtract the transaction fee and send it to the fee pool for SNX holders to claim.
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
to String.<EthAddress>
value BigNumber
txParams TxParams
Returns:
boolean

transferFrom(from, to, value, txParams)

Source:
Override ERC20 transferFrom function in order to subtract the transaction fee and send it to the fee pool for SNX holders to claim.
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
from String.<EthAddress>
to String.<EthAddress>
value BigNumber
txParams TxParams
Returns:
boolean

transferFrom(from, to, value, data, txParams)

Source:
Override ERC20 transferFrom function in order to subtract the transaction fee and send it to the fee pool for SNX holders to claim.
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
from String.<EthAddress>
to String.<EthAddress>
value BigNumber
data bytes
txParams TxParams
Returns:
boolean

transferFromSenderPaysFee(from, to, value, data, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
from String.<EthAddress>
to String.<EthAddress>
value BigNumber
data bytes
txParams TxParams
Returns:
boolean

transferFromSenderPaysFee(from, to, value, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
from String.<EthAddress>
to String.<EthAddress>
value BigNumber
txParams TxParams
Returns:
boolean

transferSenderPaysFee(to, value, data, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
to String.<EthAddress>
value BigNumber
data bytes
txParams TxParams
Returns:
boolean

transferSenderPaysFee(to, value, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
to String.<EthAddress>
value BigNumber
txParams TxParams
Returns:
boolean

triggerTokenFallbackIfNeeded(sender, recipient, amount, txParams)

Source:
Transaction (consumes gas, requires signer)
Parameters:
Name Type Description
sender String.<EthAddress>
recipient String.<EthAddress>
amount BigNumber
txParams TxParams