idle_moloch/lib/Baal/deployments/goerli/Baal.json
2024-11-01 11:55:27 +01:00

1572 lines
32 KiB
JSON

{
"address": "0x5DcE1044A7E2E35D6524001796cee47252f18411",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "guard_",
"type": "address"
}
],
"name": "NotIERC165Compliant",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousAvatar",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newAvatar",
"type": "address"
}
],
"name": "AvatarSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "proposal",
"type": "uint256"
}
],
"name": "CancelProposal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "guard",
"type": "address"
}
],
"name": "ChangedGuard",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint32",
"name": "voting",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint32",
"name": "grace",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newOffering",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "quorum",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "sponsor",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minRetention",
"type": "uint256"
}
],
"name": "GovernanceConfigSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "adminLock",
"type": "bool"
}
],
"name": "LockAdmin",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "governorLock",
"type": "bool"
}
],
"name": "LockGovernor",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "managerLock",
"type": "bool"
}
],
"name": "LockManager",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "paused",
"type": "bool"
}
],
"name": "LootPaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "proposal",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "passed",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "actionFailed",
"type": "bool"
}
],
"name": "ProcessProposal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "member",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "lootToBurn",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "sharesToBurn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "tokens",
"type": "address[]"
}
],
"name": "Ragequit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "SetTrustedForwarder",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "lootPaused",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "sharesPaused",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint32",
"name": "gracePeriod",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint32",
"name": "votingPeriod",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "proposalOffering",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "quorumPercent",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "sponsorThreshold",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minRetentionPercent",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "symbol",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalShares",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalLoot",
"type": "uint256"
}
],
"name": "SetupComplete",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "shaman",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "permission",
"type": "uint256"
}
],
"name": "ShamanSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "paused",
"type": "bool"
}
],
"name": "SharesPaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "member",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "proposal",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "votingStarts",
"type": "uint256"
}
],
"name": "SponsorProposal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "proposal",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "proposalDataHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "proposalData",
"type": "bytes"
},
{
"indexed": false,
"internalType": "uint256",
"name": "expiration",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "baalGas",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "selfSponsor",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "details",
"type": "string"
}
],
"name": "SubmitProposal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "member",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "balance",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "proposal",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "SubmitVote",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousTarget",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newTarget",
"type": "address"
}
],
"name": "TargetSet",
"type": "event"
},
{
"inputs": [],
"name": "adminLock",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "avatar",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "from",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "amount",
"type": "uint256[]"
}
],
"name": "burnLoot",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "from",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "amount",
"type": "uint256[]"
}
],
"name": "burnShares",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
}
],
"name": "cancelProposal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes[]",
"name": "_calls",
"type": "bytes[]"
},
{
"internalType": "address",
"name": "_target",
"type": "address"
}
],
"name": "encodeMultisend",
"outputs": [
{
"internalType": "bytes",
"name": "encodedMultisend",
"type": "bytes"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"name": "executeAsBaal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getGuard",
"outputs": [
{
"internalType": "address",
"name": "_guard",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
}
],
"name": "getProposalStatus",
"outputs": [
{
"internalType": "bool[4]",
"name": "",
"type": "bool[4]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "governorLock",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "gracePeriod",
"outputs": [
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "guard",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_transactions",
"type": "bytes"
}
],
"name": "hashOperation",
"outputs": [
{
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "shaman",
"type": "address"
}
],
"name": "isAdmin",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "shaman",
"type": "address"
}
],
"name": "isGovernor",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "shaman",
"type": "address"
}
],
"name": "isManager",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "isTrustedForwarder",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "latestSponsoredProposalId",
"outputs": [
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "lockAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "lockGovernor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "lockManager",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "lootToken",
"outputs": [
{
"internalType": "contract IBaalToken",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "managerLock",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"name": "memberVoted",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minRetentionPercent",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "to",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "amount",
"type": "uint256[]"
}
],
"name": "mintLoot",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "to",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "amount",
"type": "uint256[]"
}
],
"name": "mintShares",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "multisendLibrary",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
},
{
"internalType": "bytes",
"name": "proposalData",
"type": "bytes"
}
],
"name": "processProposal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "proposalCount",
"outputs": [
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proposalOffering",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "proposals",
"outputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "prevProposalId",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "votingStarts",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "votingEnds",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "graceEnds",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "expiration",
"type": "uint32"
},
{
"internalType": "uint256",
"name": "baalGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "yesVotes",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "noVotes",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxTotalSharesAndLootAtVote",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxTotalSharesAtSponsor",
"type": "uint256"
},
{
"internalType": "address",
"name": "sponsor",
"type": "address"
},
{
"internalType": "bytes32",
"name": "proposalDataHash",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "quorumPercent",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "sharesToBurn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lootToBurn",
"type": "uint256"
},
{
"internalType": "address[]",
"name": "tokens",
"type": "address[]"
}
],
"name": "ragequit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "pauseShares",
"type": "bool"
},
{
"internalType": "bool",
"name": "pauseLoot",
"type": "bool"
}
],
"name": "setAdminConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_avatar",
"type": "address"
}
],
"name": "setAvatar",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_governanceConfig",
"type": "bytes"
}
],
"name": "setGovernanceConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_guard",
"type": "address"
}
],
"name": "setGuard",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_shamans",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "_permissions",
"type": "uint256[]"
}
],
"name": "setShamans",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_target",
"type": "address"
}
],
"name": "setTarget",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_trustedForwarderAddress",
"type": "address"
}
],
"name": "setTrustedForwarder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_initializationParams",
"type": "bytes"
}
],
"name": "setUp",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "shamans",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "sharesToken",
"outputs": [
{
"internalType": "contract IBaalToken",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
}
],
"name": "sponsorProposal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "sponsorThreshold",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
}
],
"name": "state",
"outputs": [
{
"internalType": "enum Baal.ProposalState",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "proposalData",
"type": "bytes"
},
{
"internalType": "uint32",
"name": "expiration",
"type": "uint32"
},
{
"internalType": "uint256",
"name": "baalGas",
"type": "uint256"
},
{
"internalType": "string",
"name": "details",
"type": "string"
}
],
"name": "submitProposal",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "submitVote",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"internalType": "uint256",
"name": "expiry",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"internalType": "uint32",
"name": "id",
"type": "uint32"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
}
],
"name": "submitVoteWithSig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "target",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalLoot",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalShares",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "trustedForwarder",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "versionRecipient",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "votingNonces",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "votingPeriod",
"outputs": [
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
}
]
}