Settlement House
SettlementHouse.sol¶
Note
A contract for managing bundles of transactions for a futures token.
Methods¶
futuresToken¶
Returns¶
Name | Type | Description |
---|---|---|
_0 | contract IERC6909 | undefined |
queryBundles¶
Solidity
function queryBundles(uint256 slot) external view returns (struct SettlementHouse.Bundle[] slotBundles)
Parameters¶
Name | Type | Description |
---|---|---|
slot | uint256 | undefined |
Returns¶
Name | Type | Description |
---|---|---|
slotBundles | SettlementHouse.Bundle[] | undefined |
submitBundle¶
Solidity
function submitBundle(uint256 slot, uint256 amountOfGas, bytes32[] bundleHashes) external nonpayable
Parameters¶
Name | Type | Description |
---|---|---|
slot | uint256 | undefined |
amountOfGas | uint256 | undefined |
bundleHashes | bytes32[] | undefined |
Events¶
BundleSubmitted¶
Solidity
event BundleSubmitted(address indexed sender, uint256 indexed slot, uint256 indexed index, uint256 amountOfGas)
Parameters¶
Name | Type | Description |
---|---|---|
sender indexed |
address | undefined |
slot indexed |
uint256 | undefined |
index indexed |
uint256 | undefined |
amountOfGas | uint256 | undefined |