Skip to main content

Module TaskBond

Module TaskBond 

Source
Expand description

TaskBond contract surface used by the auction-task operator bond flow (taskfast bond post, gh#95). Only post is bound. The server verifies the resulting BondPosted event by matching contract/token/taskRef/ amount — it does not pin salt, so any salt is accepted.

contract TaskBond {
    function post(address token, uint256 amount, bytes32 taskRef, bytes32 salt) external;
}

Structs§

postCall
Function with signature post(address,uint256,bytes32,bytes32) and selector 0x535aa082.
postReturn
Container type for the return parameters of the post(address,uint256,bytes32,bytes32) function.

Enums§

TaskBondCalls
Container for all the TaskBond function calls.