Skip to content

Commit

Permalink
updated abis for BasicPool, DaoPools, DaoValidators, InvestPool
Browse files Browse the repository at this point in the history
  • Loading branch information
kevandee committed Aug 1, 2023
1 parent 5e746a2 commit 88db80f
Show file tree
Hide file tree
Showing 16 changed files with 2,889 additions and 1,528 deletions.
212 changes: 161 additions & 51 deletions BasicPool/abis/PoolFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,24 +264,41 @@
"type": "uint256"
},
{
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "creationReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "executionReward",
"type": "uint256"
"internalType": "uint64",
"name": "executionDelay",
"type": "uint64"
},
{
"internalType": "uint256",
"name": "voteRewardsCoefficient",
"type": "uint256"
"components": [
{
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "creationReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "executionReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "voteForRewardsCoefficient",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "voteAgainstRewardsCoefficient",
"type": "uint256"
}
],
"internalType": "struct IGovSettings.RewardsInfo",
"name": "rewardsInfo",
"type": "tuple"
},
{
"internalType": "string",
Expand Down Expand Up @@ -316,14 +333,26 @@
"type": "string"
},
{
"internalType": "uint64",
"name": "duration",
"type": "uint64"
},
{
"internalType": "uint128",
"name": "quorum",
"type": "uint128"
"components": [
{
"internalType": "uint64",
"name": "duration",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "executionDelay",
"type": "uint64"
},
{
"internalType": "uint128",
"name": "quorum",
"type": "uint128"
}
],
"internalType": "struct IGovValidators.ProposalSettings",
"name": "proposalSettings",
"type": "tuple"
},
{
"internalType": "address[]",
Expand Down Expand Up @@ -372,6 +401,16 @@
"name": "nftMultiplierAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "regularVoteModifier",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expertVoteModifier",
"type": "uint256"
},
{
"internalType": "address",
"name": "verifier",
Expand Down Expand Up @@ -457,24 +496,41 @@
"type": "uint256"
},
{
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "creationReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "executionReward",
"type": "uint256"
"internalType": "uint64",
"name": "executionDelay",
"type": "uint64"
},
{
"internalType": "uint256",
"name": "voteRewardsCoefficient",
"type": "uint256"
"components": [
{
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "creationReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "executionReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "voteForRewardsCoefficient",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "voteAgainstRewardsCoefficient",
"type": "uint256"
}
],
"internalType": "struct IGovSettings.RewardsInfo",
"name": "rewardsInfo",
"type": "tuple"
},
{
"internalType": "string",
Expand Down Expand Up @@ -509,14 +565,26 @@
"type": "string"
},
{
"internalType": "uint64",
"name": "duration",
"type": "uint64"
},
{
"internalType": "uint128",
"name": "quorum",
"type": "uint128"
"components": [
{
"internalType": "uint64",
"name": "duration",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "executionDelay",
"type": "uint64"
},
{
"internalType": "uint128",
"name": "quorum",
"type": "uint128"
}
],
"internalType": "struct IGovValidators.ProposalSettings",
"name": "proposalSettings",
"type": "tuple"
},
{
"internalType": "address[]",
Expand Down Expand Up @@ -565,6 +633,16 @@
"name": "nftMultiplierAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "regularVoteModifier",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expertVoteModifier",
"type": "uint256"
},
{
"internalType": "address",
"name": "verifier",
Expand Down Expand Up @@ -626,6 +704,11 @@
"name": "saleEndTime",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "claimLockDuration",
"type": "uint64"
},
{
"internalType": "address",
"name": "saleTokenAddress",
Expand Down Expand Up @@ -677,9 +760,26 @@
"internalType": "struct ITokenSaleProposal.VestingSettings",
"name": "vestingSettings",
"type": "tuple"
},
{
"components": [
{
"internalType": "enum ITokenSaleProposal.ParticipationType",
"name": "participationType",
"type": "uint8"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct ITokenSaleProposal.ParticipationDetails",
"name": "participationDetails",
"type": "tuple"
}
],
"internalType": "struct ITokenSaleProposal.TierView[]",
"internalType": "struct ITokenSaleProposal.TierInitParams[]",
"name": "tiersParams",
"type": "tuple[]"
},
Expand Down Expand Up @@ -854,8 +954,18 @@
"type": "string"
}
],
"name": "predictGovAddress",
"name": "predictGovAddresses",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
Expand Down Expand Up @@ -891,4 +1001,4 @@
"stateMutability": "nonpayable",
"type": "function"
}
]
]
13 changes: 13 additions & 0 deletions BasicPool/abis/PriceFeed.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down
34 changes: 33 additions & 1 deletion BasicPool/abis/TraderPoolRiskyProposal.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -277,6 +290,25 @@
"name": "ProposalPositionClosed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "positionToken",
"type": "address"
}
],
"name": "ProposalPositionOpened",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -632,7 +664,7 @@
},
{
"internalType": "uint256",
"name": "minPositionOut",
"name": "minBaseOut",
"type": "uint256"
}
],
Expand Down
Loading

0 comments on commit 88db80f

Please sign in to comment.