• Mark Tyneway's avatar
    contracts-bedrock: add TransferOnion contract · 062ebb63
    Mark Tyneway authored
    Adds the `TransferOnion` contract which can be used to batch
    send tokens. The set of transfers are committed to during
    contract initialization, and the token owner must approve
    the `TransferOnion` contract and then anybody can unwrap
    the commitment to the transfers.
    
    The transfers are committed to with a hash onion. This is
    a simple vector commitment that must be linearly unwrapped.
    Each hash commits to the next hash and the very first hash
    is `bytes32(0)`.
    062ebb63
Name
Last commit
Last update
..
actor-tests Loading commit data...
balance-monitor Loading commit data...
chain-mon Loading commit data...
common-ts Loading commit data...
contracts Loading commit data...
contracts-bedrock Loading commit data...
contracts-periphery Loading commit data...
core-utils Loading commit data...
data-transport-layer Loading commit data...
fault-detector Loading commit data...
hardhat-deploy-config Loading commit data...
message-relayer Loading commit data...
migration-data Loading commit data...
replica-healthcheck Loading commit data...
sdk Loading commit data...
two-step-monitor Loading commit data...