-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd0edc8
commit da4dccd
Showing
144 changed files
with
29,530 additions
and
2,659 deletions.
There are no files selected for viewing
343 changes: 343 additions & 0 deletions
343
apps/dapp/abi/contracts/templegold/AuctionBase.sol/AuctionBase.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,343 @@ | ||
{ | ||
"_format": "hh-sol-artifact-1", | ||
"contractName": "AuctionBase", | ||
"sourceName": "contracts/templegold/AuctionBase.sol", | ||
"abi": [ | ||
{ | ||
"inputs": [], | ||
"name": "AlreadyClaimed", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "AlreadyRecovered", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "AuctionActive", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "AuctionEnded", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "CannotClaim", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "CannotDeposit", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "CannotStartAuction", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "InvalidEpoch", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "InvalidOperation", | ||
"type": "error" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "starter", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint128", | ||
"name": "startTime", | ||
"type": "uint128" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint128", | ||
"name": "endTime", | ||
"type": "uint128" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "auctionTokenAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "AuctionStarted", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "user", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "bidTokenAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "auctionTokenAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Claim", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "depositor", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Deposit", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "bid", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "depositor", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "claimed", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "claimed", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "depositor", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "claimedAmount", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "claimedAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "currentEpoch", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "depositor", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "depositors", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "epochsWithoutBidsRecovered", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "recovered", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "epochId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "getEpochInfo", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint128", | ||
"name": "startTime", | ||
"type": "uint128" | ||
}, | ||
{ | ||
"internalType": "uint128", | ||
"name": "endTime", | ||
"type": "uint128" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "totalBidTokenAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "totalAuctionTokenAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "struct IAuctionBase.EpochInfo", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "token", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "recoverToken", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "startAuction", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
], | ||
"bytecode": "0x", | ||
"deployedBytecode": "0x", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
Oops, something went wrong.