BaseWallet
Contract used as escrow for original tokens wrapped by protocol
operator
Operator address
onlyOperator
receive
receive
function accepting native token payment
execute
Executes call
defined by passed parameters
Parameters
Name
Type
Description
to
address
Target contract address
data
bytes
Calldata send via call (function + data)
Return Values
Name
Type
Description
[0]
bytes
Data returned as result of low-level call
splitRewards
Splits tokens received as rewards/drops
Parameters
Name
Type
Description
receiver
address
Reward receiver address
rewardContracts
address[]
Array of reward contract addresses
tokenIds
uint256[]
Array of token identifiers (only relevant in case of non-fungible tokens)
transferToken
Transfers token defined by tokenId
of oContract
to to
address
Parameters
Name
Type
Description
contract_
address
to
address
Token receiver
tokenId
uint256
Token identifier
_setOperator
Sets new operator
address
Parameters
Name
Type
Description
operator_
address
New operator
address
Last updated