DepositBox
Abstract contracts for DepositBoxes on mainnet.
Modifiers
Functions
Events
whenNotKilled whenNotKilled(bytes32 schainHash)
modifier
Modifier for checking whether schain was not killed.
whenKilled whenKilled(bytes32 schainHash)
modifier
Modifier for checking whether schain was killed.
rightTransaction rightTransaction(string schainName, address to)
modifier
Modifier for checking whether schainName is not equal to Mainnet
and address of receiver is not equal to null before transferring funds from mainnet to schain.
checkReceiverChain checkReceiverChain(bytes32 schainHash, address sender)
modifier
Modifier for checking whether schainHash is not equal to Mainnet
and sender contract was added as contract processor on schain.
enableWhitelist enableWhitelist(string schainName)
external
Allows Schain owner turn on whitelist of tokens.
disableWhitelist disableWhitelist(string schainName)
external
Allows Schain owner turn off whitelist of tokens.
initialize initialize(contract IContractManager contractManagerOfSkaleManagerValue, contract ILinker newLinker, contract IMessageProxyForMainnet messageProxyValue)
public
isWhitelisted isWhitelisted(string schainName) → bool
public
Returns is whitelist enabled on schain.