Expand description
Generated by the following Solidity interface…
library Time {
type Timestamp is uint64;
}
interface Auction {
event BidSubmitted(uint256 indexed auction_id, address indexed bidder, Time.Timestamp indexed deadline, uint256 value, bytes data);
function submitBid(uint256 auction_id, Time.Timestamp deadline, uint256 value, bytes memory data) external;
}…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "submitBid",
"inputs": [
{
"name": "auction_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "deadline",
"type": "uint64",
"internalType": "Time.Timestamp"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "BidSubmitted",
"inputs": [
{
"name": "auction_id",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "bidder",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "deadline",
"type": "uint64",
"indexed": true,
"internalType": "Time.Timestamp"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
}
]Structs§
- Auction
Instance - A
Auctioninstance. - BidSubmitted
- Event with signature
BidSubmitted(uint256,address,uint64,uint256,bytes)and selector0xfa9544cad94ab8507946215078af54be3ed0a1f19911d5dab2037baf8e064fb0. - submit
BidCall - Function with signature
submitBid(uint256,uint64,uint256,bytes)and selector0x4a19067e. - submit
BidReturn - Container type for the return parameters of the
submitBid(uint256,uint64,uint256,bytes)function.
Enums§
- Auction
Calls - Container for all the
Auctionfunction calls. - Auction
Events - Container for all the
Auctionevents.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.
Functions§
- deploy
- Deploys this contract using the given
providerand constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
Auctioncontract instance.