diff --git a/flare/0x1000000000000000000000000000000000000001.json b/flare/0x1000000000000000000000000000000000000001.json new file mode 100644 index 0000000000..619e93c85f --- /dev/null +++ b/flare/0x1000000000000000000000000000000000000001.json @@ -0,0 +1,484 @@ +{ + "name": "StateConnector", + "chainId": 19, + "address": "0x1000000000000000000000000000000000000001", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint64", + "name": "ledger", + "internalType": "uint64", + "indexed": false + }, + { + "type": "uint8", + "name": "finType", + "internalType": "enum StateConnector.DataAvailabilityPeriodFinalityType", + "indexed": false + }, + { + "type": "address", + "name": "sender", + "internalType": "address", + "indexed": false + } + ], + "name": "DataAvailabilityPeriodFinalityProved", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint64", + "name": "ledger", + "internalType": "uint64", + "indexed": false + }, + { + "type": "string", + "name": "txId", + "internalType": "string", + "indexed": false + }, + { + "type": "bytes32", + "name": "paymentHash", + "internalType": "bytes32", + "indexed": false + }, + { + "type": "address", + "name": "sender", + "internalType": "address", + "indexed": false + } + ], + "name": "PaymentFinalityDisproved", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint64", + "name": "ledger", + "internalType": "uint64", + "indexed": false + }, + { + "type": "string", + "name": "txId", + "internalType": "string", + "indexed": false + }, + { + "type": "bytes32", + "name": "paymentHash", + "internalType": "bytes32", + "indexed": false + }, + { + "type": "address", + "name": "sender", + "internalType": "address", + "indexed": false + } + ], + "name": "PaymentFinalityProved", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint32", + "name": "", + "internalType": "uint32" + } + ], + "name": "chains" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "commitRevealLowerBound" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "commitRevealUpperBound" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + }, + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "dataAvailabilityPeriodsMined" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32" + }, + { + "type": "bytes32", + "name": "paymentHash", + "internalType": "bytes32" + }, + { + "type": "uint64", + "name": "ledger", + "internalType": "uint64" + }, + { + "type": "string", + "name": "txId", + "internalType": "string" + } + ], + "name": "disprovePaymentFinality" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "", + "internalType": "bytes32" + } + ], + "name": "finalisedDataAvailabilityPeriods" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "", + "internalType": "bytes32" + } + ], + "name": "finalisedPayments" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32" + }, + { + "type": "uint64", + "name": "dataAvailabilityPeriodIndex", + "internalType": "uint64" + } + ], + "name": "getDataAvailabilityPeriodIndexFinality" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "miner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "rewardSchedule", + "internalType": "uint256" + } + ], + "name": "getDataAvailabilityPeriodsMined" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32" + } + ], + "name": "getLatestIndex" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32" + }, + { + "type": "bytes32", + "name": "txId", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "destinationHash", + "internalType": "bytes32" + }, + { + "type": "uint64", + "name": "amount", + "internalType": "uint64" + }, + { + "type": "bytes32", + "name": "currencyHash", + "internalType": "bytes32" + } + ], + "name": "getPaymentFinality" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardPeriod" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardSchedule", + "internalType": "uint256" + } + ], + "name": "getTotalDataAvailabilityPeriodsMined" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "initialiseChains" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "initialiseTime" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "initialised" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "numChains" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + }, + { + "type": "bytes32", + "name": "", + "internalType": "bytes32" + } + ], + "name": "proposedDataAvailabilityProofs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "", + "internalType": "bytes32" + }, + { + "type": "uint64", + "name": "", + "internalType": "uint64" + } + ], + "name": "proposedNonPaymentProofs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "", + "internalType": "bytes32" + }, + { + "type": "uint64", + "name": "", + "internalType": "uint64" + } + ], + "name": "proposedPaymentProofs" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32" + }, + { + "type": "uint64", + "name": "ledger", + "internalType": "uint64" + }, + { + "type": "bytes32", + "name": "dataAvailabilityPeriodHash", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "chainTipHash", + "internalType": "bytes32" + } + ], + "name": "proveDataAvailabilityPeriodFinality" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint32", + "name": "chainId", + "internalType": "uint32" + }, + { + "type": "bytes32", + "name": "paymentHash", + "internalType": "bytes32" + }, + { + "type": "uint64", + "name": "ledger", + "internalType": "uint64" + }, + { + "type": "string", + "name": "txId", + "internalType": "string" + } + ], + "name": "provePaymentFinality" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardPeriodTimespan" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "senderBannedUntil" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "totalDataAvailabilityPeriodsMined" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0x1000000000000000000000000000000000000002.json b/flare/0x1000000000000000000000000000000000000002.json new file mode 100644 index 0000000000..fcfee297d7 --- /dev/null +++ b/flare/0x1000000000000000000000000000000000000002.json @@ -0,0 +1,482 @@ +{ + "name": "FlareDaemon", + "chainId": 19, + "address": "0x1000000000000000000000000000000000000002", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "atBlock", + "internalType": "uint256", + "indexed": false + }, + { + "type": "string", + "name": "theMessage", + "internalType": "string", + "indexed": false + }, + { + "type": "uint256", + "name": "gasConsumed", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractDaemonizeErrored", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "gasConsumed", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractDaemonized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "blockHoldoffsRemaining", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractHeldOff", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "numberOfSkippedConstracts", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractsSkippedOutOfGas", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theNewContract", + "internalType": "contract IInflationGenesis", + "indexed": false + }, + { + "type": "address", + "name": "theOldContract", + "internalType": "contract IInflationGenesis", + "indexed": false + } + ], + "name": "InflationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingRequestReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingRequestTriggered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingWithdrawn", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "contract IFlareDaemonize", + "indexed": false + }, + { + "type": "bool", + "name": "add", + "internalType": "bool", + "indexed": false + } + ], + "name": "RegistrationUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SelfDestructReceived", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "blockHoldoff" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "errorData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getDaemonizedContractsData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getNextMintRequestAllowedTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "inflation" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "initialiseFixedAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastMintRequestTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastUpdateMaxMintRequestTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maxMintingRequestWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_registrations", + "internalType": "struct FlareDaemon.Registration[]" + } + ], + "name": "registerToDaemonize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "requestMinting" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockHoldoff", + "internalType": "uint256" + } + ], + "name": "setBlockHoldoff" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_inflation", + "internalType": "contract IInflationGenesis" + } + ], + "name": "setInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_maxMintingRequestWei", + "internalType": "uint256" + } + ], + "name": "setMaxMintingRequest" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "startIndex", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "numErrorTypesToShow", + "internalType": "uint256" + } + ], + "name": "showDaemonizedErrors" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "showLastDaemonizedError" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "systemLastTriggeredAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalMintingReceivedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalMintingRequestedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalMintingWithdrawnWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalSelfDestructReceivedWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "trigger" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "unregisterAll" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0x1000000000000000000000000000000000000003.json b/flare/0x1000000000000000000000000000000000000003.json new file mode 100644 index 0000000000..e4302a4a53 --- /dev/null +++ b/flare/0x1000000000000000000000000000000000000003.json @@ -0,0 +1,357 @@ +{ + "name": "PriceSubmitter", + "chainId": 19, + "address": "0x1000000000000000000000000000000000000003", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "submitter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "address[]", + "name": "ftsos", + "internalType": "contract IFtsoGenesis[]", + "indexed": false + }, + { + "type": "bytes32[]", + "name": "hashes", + "internalType": "bytes32[]", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "PriceHashesSubmitted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "address[]", + "name": "ftsos", + "internalType": "contract IFtsoGenesis[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "prices", + "internalType": "uint256[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "randoms", + "internalType": "uint256[]", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "PricesRevealed", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFtsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFtsoRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTrustedAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getVoterWhitelister" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "initialiseFixedAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_epochId", + "internalType": "uint256" + }, + { + "type": "uint256[]", + "name": "_ftsoIndices", + "internalType": "uint256[]" + }, + { + "type": "uint256[]", + "name": "_prices", + "internalType": "uint256[]" + }, + { + "type": "uint256[]", + "name": "_randoms", + "internalType": "uint256[]" + } + ], + "name": "revealPrices" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftsoRegistry", + "internalType": "contract IFtsoRegistryGenesis" + }, + { + "type": "address", + "name": "_voterWhitelister", + "internalType": "address" + }, + { + "type": "address", + "name": "_ftsoManager", + "internalType": "address" + } + ], + "name": "setContractAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_trustedAddresses", + "internalType": "address[]" + } + ], + "name": "setTrustedAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_epochId", + "internalType": "uint256" + }, + { + "type": "uint256[]", + "name": "_ftsoIndices", + "internalType": "uint256[]" + }, + { + "type": "bytes32[]", + "name": "_hashes", + "internalType": "bytes32[]" + } + ], + "name": "submitPriceHashes" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "voterWhitelistBitmap" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "voterWhitelisted" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_removedVoters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "votersRemovedFromWhitelist" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d.json b/flare/0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d.json new file mode 100644 index 0000000000..ad05a89c01 --- /dev/null +++ b/flare/0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d.json @@ -0,0 +1,244 @@ +{ + "name": "WNat", + "chainId": 19, + "address": "0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0x1d80c49bbbcd1c0911346656b529df9e5c2f783d.json b/flare/0x1d80c49bbbcd1c0911346656b529df9e5c2f783d.json deleted file mode 100644 index 9658b82347..0000000000 --- a/flare/0x1d80c49bbbcd1c0911346656b529df9e5c2f783d.json +++ /dev/null @@ -1,1370 +0,0 @@ -{ - "name": "Wrapped Flare", - "chainId": 14, - "address": "0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d", - "metadata": { - "compiler": { - "version": "v0.7.6+commit.7338295f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - }, - { - "type": "string", - "name": "_name", - "internalType": "string" - }, - { - "type": "string", - "name": "_symbol", - "internalType": "string" - } - ] - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CreatedTotalSupplyCache", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Deposit", - "inputs": [ - { - "type": "address", - "name": "dst", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceCallTimelocked", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256", - "indexed": false - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceInitialised", - "inputs": [ - { - "type": "address", - "name": "initialGovernance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernedProductionModeEntered", - "inputs": [ - { - "type": "address", - "name": "governanceSettings", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallCanceled", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallExecuted", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "from", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "to", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VotePowerContractChanged", - "inputs": [ - { - "type": "uint256", - "name": "_contractType", - "internalType": "uint256", - "indexed": false - }, - { - "type": "address", - "name": "_oldContractAddress", - "internalType": "address", - "indexed": false - }, - { - "type": "address", - "name": "_newContractAddress", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Withdrawal", - "inputs": [ - { - "type": "address", - "name": "src", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "allowance", - "inputs": [ - { - "type": "address", - "name": "owner", - "internalType": "address" - }, - { - "type": "address", - "name": "spender", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "approve", - "inputs": [ - { - "type": "address", - "name": "spender", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "balanceHistoryCleanup", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "balanceOf", - "inputs": [ - { - "type": "address", - "name": "account", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "balanceOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "batchDelegate", - "inputs": [ - { - "type": "address[]", - "name": "_delegatees", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_bips", - "internalType": "uint256[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "", - "internalType": "uint256[]" - } - ], - "name": "batchVotePowerOfAt", - "inputs": [ - { - "type": "address[]", - "name": "_owners", - "internalType": "address[]" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "cancelGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "cleanerContract", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "cleanupBlockNumber", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "cleanupBlockNumberManager", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint8", - "name": "", - "internalType": "uint8" - } - ], - "name": "decimals", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "decreaseAllowance", - "inputs": [ - { - "type": "address", - "name": "spender", - "internalType": "address" - }, - { - "type": "uint256", - "name": "subtractedValue", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "delegate", - "inputs": [ - { - "type": "address", - "name": "_to", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_bips", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "delegateExplicit", - "inputs": [ - { - "type": "address", - "name": "_to", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "_delegateAddresses", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_bips", - "internalType": "uint256[]" - }, - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_delegationMode", - "internalType": "uint256" - } - ], - "name": "delegatesOf", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "_delegateAddresses", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_bips", - "internalType": "uint256[]" - }, - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_delegationMode", - "internalType": "uint256" - } - ], - "name": "delegatesOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "delegationModeOf", - "inputs": [ - { - "type": "address", - "name": "_who", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "payable", - "outputs": [], - "name": "deposit", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "payable", - "outputs": [], - "name": "depositTo", - "inputs": [ - { - "type": "address", - "name": "recipient", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "executeGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "governance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IGovernanceSettings" - } - ], - "name": "governanceSettings", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IGovernanceVotePower" - } - ], - "name": "governanceVotePower", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "increaseAllowance", - "inputs": [ - { - "type": "address", - "name": "spender", - "internalType": "address" - }, - { - "type": "uint256", - "name": "addedValue", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "initialise", - "inputs": [ - { - "type": "address", - "name": "_initialGovernance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "string", - "name": "", - "internalType": "string" - } - ], - "name": "name", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "productionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IVPContractEvents" - } - ], - "name": "readVotePowerContract", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "revokeDelegationAt", - "inputs": [ - { - "type": "address", - "name": "_who", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setCleanerContract", - "inputs": [ - { - "type": "address", - "name": "_cleanerContract", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setCleanupBlockNumber", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setCleanupBlockNumberManager", - "inputs": [ - { - "type": "address", - "name": "_cleanupBlockNumberManager", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setGovernanceVotePower", - "inputs": [ - { - "type": "address", - "name": "_governanceVotePower", - "internalType": "contract IIGovernanceVotePower" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setReadVpContract", - "inputs": [ - { - "type": "address", - "name": "_vpContract", - "internalType": "contract IIVPContract" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setWriteVpContract", - "inputs": [ - { - "type": "address", - "name": "_vpContract", - "internalType": "contract IIVPContract" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "switchToProductionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "string", - "name": "", - "internalType": "string" - } - ], - "name": "symbol", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256" - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes" - } - ], - "name": "timelockedCalls", - "inputs": [ - { - "type": "bytes4", - "name": "", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupply", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupplyAt", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupplyCacheCleanup", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupplyHistoryCleanup", - "inputs": [ - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalVotePower", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalVotePowerAt", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalVotePowerAtCached", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "transfer", - "inputs": [ - { - "type": "address", - "name": "recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "transferFrom", - "inputs": [ - { - "type": "address", - "name": "sender", - "internalType": "address" - }, - { - "type": "address", - "name": "recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "undelegateAll", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_remainingDelegation", - "internalType": "uint256" - } - ], - "name": "undelegateAllExplicit", - "inputs": [ - { - "type": "address[]", - "name": "_delegateAddresses", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "undelegatedVotePowerOf", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "undelegatedVotePowerOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerFromTo", - "inputs": [ - { - "type": "address", - "name": "_from", - "internalType": "address" - }, - { - "type": "address", - "name": "_to", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerFromToAt", - "inputs": [ - { - "type": "address", - "name": "_from", - "internalType": "address" - }, - { - "type": "address", - "name": "_to", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOf", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOfAtCached", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOfAtIgnoringRevocation", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "vpContractInitialized", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "withdraw", - "inputs": [ - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "withdrawFrom", - "inputs": [ - { - "type": "address", - "name": "owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IVPContractEvents" - } - ], - "name": "writeVotePowerContract", - "inputs": [] - }, - { - "type": "receive", - "stateMutability": "payable" - } - ] - }, - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - } - }, - "version": 1 - }, - "version": 1, - "checkPoints": [] -} \ No newline at end of file diff --git a/flare/0x260371e0CF561887C6Da270CC3Be84C2FaB5444f.json b/flare/0x260371e0CF561887C6Da270CC3Be84C2FaB5444f.json new file mode 100644 index 0000000000..c2d2ef46d4 --- /dev/null +++ b/flare/0x260371e0CF561887C6Da270CC3Be84C2FaB5444f.json @@ -0,0 +1,244 @@ +{ + "name": "InflationAllocation", + "chainId": 19, + "address": "0x260371e0CF561887C6Da270CC3Be84C2FaB5444f", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f.json b/flare/0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f.json new file mode 100644 index 0000000000..0d5076f263 --- /dev/null +++ b/flare/0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f.json @@ -0,0 +1,390 @@ +{ + "name": "Submission", + "chainId": 19, + "address": "0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "bool", + "name": "_submit3MethodEnabled", + "internalType": "bool" + } + ] + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRandom" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRandomWithQuality" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRandomWithQualityAndTimestamp" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_submit1Addresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_submit2Addresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_submit3Addresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_submitSignaturesAddresses", + "internalType": "address[]" + } + ], + "name": "initNewVotingRound" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "relay" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_enabled", + "internalType": "bool" + } + ], + "name": "setSubmit3MethodEnabled" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_submitAndPassContract", + "internalType": "address" + }, + { + "type": "bytes4", + "name": "_submitAndPassSelector", + "internalType": "bytes4" + } + ], + "name": "setSubmitAndPassData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submit1" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submit2" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submit3" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submit3MethodEnabled" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes", + "name": "_data", + "internalType": "bytes" + } + ], + "name": "submitAndPass" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submitAndPassContract" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submitAndPassSelector" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submitSignatures" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [], + "name": "NewVotingRoundInitiated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0x32c6379b2978a9ab75993ca82e3adc77dd50010c.json b/flare/0x32c6379b2978a9ab75993ca82e3adc77dd50010c.json deleted file mode 100644 index 0b4c88a0e0..0000000000 --- a/flare/0x32c6379b2978a9ab75993ca82e3adc77dd50010c.json +++ /dev/null @@ -1,1134 +0,0 @@ -{ - "name": "Distribution To Delegators", - "chainId": 14, - "address": "0x32c6379B2978A9aB75993cA82e3ADc77dd50010C", - "metadata": { - "compiler": { - "version": "v0.7.6+commit.7338295f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - }, - { - "type": "address", - "name": "_addressUpdater", - "internalType": "address" - }, - { - "type": "address", - "name": "_priceSubmitter", - "internalType": "contract IPriceSubmitter" - }, - { - "type": "address", - "name": "_treasury", - "internalType": "contract DistributionTreasury" - }, - { - "type": "uint256", - "name": "_totalEntitlementWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_latestEntitlementStartTs", - "internalType": "uint256" - } - ] - }, - { - "type": "event", - "name": "AccountClaimed", - "inputs": [ - { - "type": "address", - "name": "whoClaimed", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "sentTo", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "month", - "internalType": "uint256", - "indexed": false - }, - { - "type": "uint256", - "name": "amountWei", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AccountOptOut", - "inputs": [ - { - "type": "address", - "name": "theAccount", - "internalType": "address", - "indexed": true - }, - { - "type": "bool", - "name": "confirmed", - "internalType": "bool", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AllowedClaimRecipientsChanged", - "inputs": [ - { - "type": "address", - "name": "rewardOwner", - "internalType": "address", - "indexed": false - }, - { - "type": "address[]", - "name": "recipients", - "internalType": "address[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ClaimExecutorsChanged", - "inputs": [ - { - "type": "address", - "name": "rewardOwner", - "internalType": "address", - "indexed": false - }, - { - "type": "address[]", - "name": "executors", - "internalType": "address[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "EntitlementStart", - "inputs": [ - { - "type": "uint256", - "name": "entitlementStartTs", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceCallTimelocked", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256", - "indexed": false - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceInitialised", - "inputs": [ - { - "type": "address", - "name": "initialGovernance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernedProductionModeEntered", - "inputs": [ - { - "type": "address", - "name": "governanceSettings", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallCanceled", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallExecuted", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "", - "internalType": "address[]" - } - ], - "name": "allowedClaimRecipients", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "cancelGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claim", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claimAndWrap", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claimAndWrapByExecutor", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - }, - { - "type": "address", - "name": "_recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claimByExecutor", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - }, - { - "type": "address", - "name": "_recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "", - "internalType": "address[]" - } - ], - "name": "claimExecutors", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claimToPersonalDelegationAccount", - "inputs": [ - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claimToPersonalDelegationAccountByExecutor", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "confirmOptOutOfAirdrop", - "inputs": [ - { - "type": "address[]", - "name": "_optOutAddresses", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract DelegationAccountManager" - } - ], - "name": "delegationAccountManager", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "endBlockNumber", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "entitlementStartTs", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "executeGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "_addressUpdater", - "internalType": "address" - } - ], - "name": "getAddressUpdater", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "getClaimableAmount", - "inputs": [ - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "getClaimableAmountOf", - "inputs": [ - { - "type": "address", - "name": "_account", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "getClaimedAmount", - "inputs": [ - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "getClaimedAmountOf", - "inputs": [ - { - "type": "address", - "name": "_account", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_month", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_currentMonth", - "internalType": "uint256" - } - ], - "name": "getCurrentMonth", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_monthToExpireNext", - "internalType": "uint256" - } - ], - "name": "getMonthToExpireNext", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_lockedFundsWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalInflationAuthorizedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalClaimedWei", - "internalType": "uint256" - } - ], - "name": "getTokenPoolSupplyData", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "governance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IGovernanceSettings" - } - ], - "name": "governanceSettings", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "initialise", - "inputs": [ - { - "type": "address", - "name": "_initialGovernance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "latestEntitlementStartTs", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "optOut", - "inputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "optOutAddresses", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "optOutCandidate", - "inputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "optOutOfAirdrop", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IPriceSubmitter" - } - ], - "name": "priceSubmitter", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "productionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_timeTill", - "internalType": "uint256" - } - ], - "name": "secondsTillNextClaim", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setAllowedClaimRecipients", - "inputs": [ - { - "type": "address[]", - "name": "_recipients", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setClaimExecutors", - "inputs": [ - { - "type": "address[]", - "name": "_executors", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setEntitlementStart", - "inputs": [ - { - "type": "uint256", - "name": "_entitlementStartTs", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "startBlockNumber", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "stop", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "stopped", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract Supply" - } - ], - "name": "supply", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "switchToProductionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256" - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes" - } - ], - "name": "timelockedCalls", - "inputs": [ - { - "type": "bytes4", - "name": "", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalAvailableAmount", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalBurnedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalClaimedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalDistributableAmount", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalEntitlementWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalUnclaimedAmount", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalUnclaimedWeight", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract DistributionTreasury" - } - ], - "name": "treasury", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "updateContractAddresses", - "inputs": [ - { - "type": "bytes32[]", - "name": "_contractNameHashes", - "internalType": "bytes32[]" - }, - { - "type": "address[]", - "name": "_contractAddresses", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "updateTotalEntitlementWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerBlockNumbers", - "inputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract WNat" - } - ], - "name": "wNat", - "inputs": [] - }, - { - "type": "receive", - "stateMutability": "payable" - } - ] - }, - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - } - }, - "version": 1 - }, - "version": 1, - "checkPoints": [] -} \ No newline at end of file diff --git a/flare/0x6d55e24dc2d3bd2fc5ae1fccd1a73bc5f18a8a30.json b/flare/0x6d55e24dc2d3bd2fc5ae1fccd1a73bc5f18a8a30.json deleted file mode 100644 index d42ed190dc..0000000000 --- a/flare/0x6d55e24dc2d3bd2fc5ae1fccd1a73bc5f18a8a30.json +++ /dev/null @@ -1,1486 +0,0 @@ -{ - "name": "FTSO Reward Manager", - "chainId": 14, - "address": "0x6D55E24Dc2d3bD2Fc5Ae1fcCD1A73bc5f18A8A30", - "metadata": { - "compiler": { - "version": "v0.7.6+commit.7338295f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - }, - { - "type": "address", - "name": "_addressUpdater", - "internalType": "address" - }, - { - "type": "address", - "name": "_oldFtsoRewardManager", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_feePercentageUpdateOffset", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_defaultFeePercentage", - "internalType": "uint256" - } - ] - }, - { - "type": "event", - "name": "AllowedClaimRecipientsChanged", - "inputs": [ - { - "type": "address", - "name": "rewardOwner", - "internalType": "address", - "indexed": false - }, - { - "type": "address[]", - "name": "recipients", - "internalType": "address[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ClaimExecutorsChanged", - "inputs": [ - { - "type": "address", - "name": "rewardOwner", - "internalType": "address", - "indexed": false - }, - { - "type": "address[]", - "name": "executors", - "internalType": "address[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DailyAuthorizedInflationSet", - "inputs": [ - { - "type": "uint256", - "name": "authorizedAmountWei", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "FeePercentageChanged", - "inputs": [ - { - "type": "address", - "name": "dataProvider", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "internalType": "uint256", - "indexed": false - }, - { - "type": "uint256", - "name": "validFromEpoch", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceCallTimelocked", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256", - "indexed": false - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceInitialised", - "inputs": [ - { - "type": "address", - "name": "initialGovernance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernedProductionModeEntered", - "inputs": [ - { - "type": "address", - "name": "governanceSettings", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "InflationReceived", - "inputs": [ - { - "type": "uint256", - "name": "amountReceivedWei", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardClaimed", - "inputs": [ - { - "type": "address", - "name": "dataProvider", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "whoClaimed", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "sentTo", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "rewardEpoch", - "internalType": "uint256", - "indexed": false - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardClaimsEnabled", - "inputs": [ - { - "type": "uint256", - "name": "rewardEpochId", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardClaimsExpired", - "inputs": [ - { - "type": "uint256", - "name": "rewardEpochId", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardsBurned", - "inputs": [ - { - "type": "uint256", - "name": "amountBurnedWei", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardsDistributed", - "inputs": [ - { - "type": "address", - "name": "ftso", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "epochId", - "internalType": "uint256", - "indexed": false - }, - { - "type": "address[]", - "name": "addresses", - "internalType": "address[]", - "indexed": false - }, - { - "type": "uint256[]", - "name": "rewards", - "internalType": "uint256[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallCanceled", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallExecuted", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "UnearnedRewardsAccrued", - "inputs": [ - { - "type": "uint256", - "name": "epochId", - "internalType": "uint256", - "indexed": false - }, - { - "type": "uint256", - "name": "reward", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "accrueUnearnedRewards", - "inputs": [ - { - "type": "uint256", - "name": "_epochId", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_priceEpochDurationSeconds", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_priceEpochEndTime", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "activate", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "active", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "", - "internalType": "address[]" - } - ], - "name": "allowedClaimRecipients", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "cancelGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimAndWrapReward", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimAndWrapRewardByExecutor", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - }, - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimAndWrapRewardFromDataProviders", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - }, - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimAndWrapRewardFromDataProvidersByExecutor", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - }, - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - }, - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "", - "internalType": "address[]" - } - ], - "name": "claimExecutors", - "inputs": [ - { - "type": "address", - "name": "_rewardOwner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimReward", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimRewardFromDataProviders", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - }, - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "closeExpiredRewardEpoch", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "deactivate", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "defaultFeePercentage", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "distributeRewards", - "inputs": [ - { - "type": "address[]", - "name": "_addresses", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_weights", - "internalType": "uint256[]" - }, - { - "type": "uint256", - "name": "_totalWeight", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_epochId", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_ftso", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_priceEpochDurationSeconds", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_currentRewardEpoch", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_priceEpochEndTime", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_votePowerBlock", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "enableClaims", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "executeGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "feePercentageUpdateOffset", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "firstClaimableRewardEpoch", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IIFtsoManager" - } - ], - "name": "ftsoManager", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "_addressUpdater", - "internalType": "address" - } - ], - "name": "getAddressUpdater", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "_claimed", - "internalType": "bool" - }, - { - "type": "uint256", - "name": "_amount", - "internalType": "uint256" - } - ], - "name": "getClaimedReward", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - }, - { - "type": "address", - "name": "_claimer", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "pure", - "outputs": [ - { - "type": "string", - "name": "", - "internalType": "string" - } - ], - "name": "getContractName", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "getCurrentRewardEpoch", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "getDataProviderCurrentFeePercentage", - "inputs": [ - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_feePercentageBIPS", - "internalType": "uint256" - } - ], - "name": "getDataProviderFeePercentage", - "inputs": [ - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_votePowerIgnoringRevocation", - "internalType": "uint256" - } - ], - "name": "getDataProviderPerformanceInfo", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "_feePercentageBIPS", - "internalType": "uint256[]" - }, - { - "type": "uint256[]", - "name": "_validFromEpoch", - "internalType": "uint256[]" - }, - { - "type": "bool[]", - "name": "_fixed", - "internalType": "bool[]" - } - ], - "name": "getDataProviderScheduledFeePercentageChanges", - "inputs": [ - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_totalReward", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_claimedReward", - "internalType": "uint256" - } - ], - "name": "getEpochReward", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_startEpochId", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_endEpochId", - "internalType": "uint256" - } - ], - "name": "getEpochsWithClaimableRewards", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "_epochIds", - "internalType": "uint256[]" - } - ], - "name": "getEpochsWithUnclaimedRewards", - "inputs": [ - { - "type": "address", - "name": "_beneficiary", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "getInflationAddress", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_initialRewardEpoch", - "internalType": "uint256" - } - ], - "name": "getInitialRewardEpoch", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "getRewardEpochToExpireNext", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "getRewardEpochVotePowerBlock", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_rewardAmounts", - "internalType": "uint256[]" - }, - { - "type": "bool[]", - "name": "_claimed", - "internalType": "bool[]" - }, - { - "type": "bool", - "name": "_claimable", - "internalType": "bool" - } - ], - "name": "getStateOfRewards", - "inputs": [ - { - "type": "address", - "name": "_beneficiary", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "_rewardAmounts", - "internalType": "uint256[]" - }, - { - "type": "bool[]", - "name": "_claimed", - "internalType": "bool[]" - }, - { - "type": "bool", - "name": "_claimable", - "internalType": "bool" - } - ], - "name": "getStateOfRewardsFromDataProviders", - "inputs": [ - { - "type": "address", - "name": "_beneficiary", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_lockedFundsWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalInflationAuthorizedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalClaimedWei", - "internalType": "uint256" - } - ], - "name": "getTokenPoolSupplyData", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_totalAwardedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalClaimedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalExpiredWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalUnearnedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalBurnedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalInflationAuthorizedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalInflationReceivedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalSelfDestructReceivedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_lastInflationAuthorizationReceivedTs", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_dailyAuthorizedInflation", - "internalType": "uint256" - } - ], - "name": "getTotals", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amount", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_weight", - "internalType": "uint256" - } - ], - "name": "getUnclaimedReward", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "governance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IGovernanceSettings" - } - ], - "name": "governanceSettings", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "initialise", - "inputs": [ - { - "type": "address", - "name": "_initialGovernance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "newFtsoRewardManager", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "oldFtsoRewardManager", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "productionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "payable", - "outputs": [], - "name": "receiveInflation", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setAllowedClaimRecipients", - "inputs": [ - { - "type": "address[]", - "name": "_recipients", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setClaimExecutors", - "inputs": [ - { - "type": "address[]", - "name": "_executors", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setDailyAuthorizedInflation", - "inputs": [ - { - "type": "uint256", - "name": "_toAuthorizeWei", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "setDataProviderFeePercentage", - "inputs": [ - { - "type": "uint256", - "name": "_feePercentageBIPS", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setInitialRewardData", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setNewFtsoRewardManager", - "inputs": [ - { - "type": "address", - "name": "_newFtsoRewardManager", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract Supply" - } - ], - "name": "supply", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "switchToProductionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256" - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes" - } - ], - "name": "timelockedCalls", - "inputs": [ - { - "type": "bytes4", - "name": "", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "updateContractAddresses", - "inputs": [ - { - "type": "bytes32[]", - "name": "_contractNameHashes", - "internalType": "bytes32[]" - }, - { - "type": "address[]", - "name": "_contractAddresses", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract WNat" - } - ], - "name": "wNat", - "inputs": [] - } - ] - }, - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - } - }, - "version": 1 - }, - "version": 1, - "checkPoints": [] -} \ No newline at end of file diff --git a/flare/0x8577D2D50827bCE2EC1dc9Cf9F1199826781D5AF.json b/flare/0x8577D2D50827bCE2EC1dc9Cf9F1199826781D5AF.json new file mode 100644 index 0000000000..efdc8e93e8 --- /dev/null +++ b/flare/0x8577D2D50827bCE2EC1dc9Cf9F1199826781D5AF.json @@ -0,0 +1,244 @@ +{ + "name": "Supply", + "chainId": 19, + "address": "0x8577D2D50827bCE2EC1dc9Cf9F1199826781D5AF", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0xB5cC96c7831Db2b446eA5BD1b006020DD32B6d3a.json b/flare/0xB5cC96c7831Db2b446eA5BD1b006020DD32B6d3a.json new file mode 100644 index 0000000000..3bb3df7364 --- /dev/null +++ b/flare/0xB5cC96c7831Db2b446eA5BD1b006020DD32B6d3a.json @@ -0,0 +1,244 @@ +{ + "name": "CleanupBlockNumberManager", + "chainId": 19, + "address": "0xB5cC96c7831Db2b446eA5BD1b006020DD32B6d3a", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0xEfd7a680Db05F1dCD86EB5a074897F502C8601A0.json b/flare/0xEfd7a680Db05F1dCD86EB5a074897F502C8601A0.json new file mode 100644 index 0000000000..e9b134b4d6 --- /dev/null +++ b/flare/0xEfd7a680Db05F1dCD86EB5a074897F502C8601A0.json @@ -0,0 +1,244 @@ +{ + "name": "Inflation", + "chainId": 19, + "address": "0xEfd7a680Db05F1dCD86EB5a074897F502C8601A0", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0xa071b43060DaA8eaA0d14DBE5Ea03ed18c9ed1d6.json b/flare/0xa071b43060DaA8eaA0d14DBE5Ea03ed18c9ed1d6.json new file mode 100644 index 0000000000..f71f5cd119 --- /dev/null +++ b/flare/0xa071b43060DaA8eaA0d14DBE5Ea03ed18c9ed1d6.json @@ -0,0 +1,244 @@ +{ + "name": "IncentivePoolAllocation", + "chainId": 19, + "address": "0xa071b43060DaA8eaA0d14DBE5Ea03ed18c9ed1d6", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019.json b/flare/0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019.json new file mode 100644 index 0000000000..a2fadcdad3 --- /dev/null +++ b/flare/0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019.json @@ -0,0 +1,115 @@ +{ + "name": "FlareContractRegistry", + "chainId": 19, + "address": "0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + } + ] + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAllContracts" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "_nameHash", + "internalType": "bytes32" + } + ], + "name": "getContractAddressByHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string", + "name": "_name", + "internalType": "string" + } + ], + "name": "getContractAddressByName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32[]", + "name": "_nameHashes", + "internalType": "bytes32[]" + } + ], + "name": "getContractAddressesByHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string[]", + "name": "_names", + "internalType": "string[]" + } + ], + "name": "getContractAddressesByName" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0xbcE1972De5d1598a948A36186eCeBFD4690F3a5C.json b/flare/0xbcE1972De5d1598a948A36186eCeBFD4690F3a5C.json new file mode 100644 index 0000000000..eb56c70b65 --- /dev/null +++ b/flare/0xbcE1972De5d1598a948A36186eCeBFD4690F3a5C.json @@ -0,0 +1,244 @@ +{ + "name": "IncentivePool", + "chainId": 19, + "address": "0xbcE1972De5d1598a948A36186eCeBFD4690F3a5C", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SuccessfulTransfer", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address payable[]" + }, + { + "type": "uint256[]", + "name": "_amountsWei", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_amounts", + "internalType": "uint256[]" + } + ], + "name": "batchTransferTokensTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "executor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newExecutor", + "internalType": "address" + } + ], + "name": "setExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "transferTo" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "address", + "name": "_address", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferTokensTo" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/flare/0xd7b8d88603de93dd9b430ea5f81dc32c117df250.json b/flare/0xd7b8d88603de93dd9b430ea5f81dc32c117df250.json deleted file mode 100644 index 91763bba25..0000000000 --- a/flare/0xd7b8d88603de93dd9b430ea5f81dc32c117df250.json +++ /dev/null @@ -1,574 +0,0 @@ -{ - "name": "Distribution", - "chainId": 14, - "address": "0xd7b8D88603De93dD9b430ea5f81dC32C117Df250", - "metadata": { - "compiler": { - "version": "v0.7.6+commit.7338295f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - }, - { - "type": "address", - "name": "_treasury", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_latestEntitlementStartTs", - "internalType": "uint256" - } - ] - }, - { - "type": "event", - "name": "AccountClaimed", - "inputs": [ - { - "type": "address", - "name": "theAccount", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AccountOptOut", - "inputs": [ - { - "type": "address", - "name": "theAccount", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AccountsAdded", - "inputs": [ - { - "type": "address[]", - "name": "accountsArray", - "internalType": "address[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "EntitlementStart", - "inputs": [ - { - "type": "uint256", - "name": "entitlementStartTs", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceCallTimelocked", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256", - "indexed": false - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceInitialised", - "inputs": [ - { - "type": "address", - "name": "initialGovernance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernedProductionModeEntered", - "inputs": [ - { - "type": "address", - "name": "governanceSettings", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OptOutWeiWithdrawn", - "inputs": [], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallCanceled", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockedGovernanceCallExecuted", - "inputs": [ - { - "type": "bytes4", - "name": "selector", - "internalType": "bytes4", - "indexed": false - }, - { - "type": "uint256", - "name": "timestamp", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "entitlementBalanceWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "totalClaimedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "optOutBalanceWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "airdroppedAtGenesisWei", - "internalType": "uint256" - } - ], - "name": "airdropAccounts", - "inputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "cancelGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "claim", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "entitlementStartTs", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "executeGovernanceCall", - "inputs": [ - { - "type": "bytes4", - "name": "_selector", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "getClaimableAmount", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "getClaimableAmountOf", - "inputs": [ - { - "type": "address", - "name": "account", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_lockedFundsWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalInflationAuthorizedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalClaimedWei", - "internalType": "uint256" - } - ], - "name": "getTokenPoolSupplyData", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "governance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IGovernanceSettings" - } - ], - "name": "governanceSettings", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "initialise", - "inputs": [ - { - "type": "address", - "name": "_initialGovernance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "latestEntitlementStartTs", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "optOutOfAirdrop", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "productionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "timeTill", - "internalType": "uint256" - } - ], - "name": "secondsTillNextClaim", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setAirdropBalances", - "inputs": [ - { - "type": "address[]", - "name": "toAddress", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "balance", - "internalType": "uint256[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setEntitlementStart", - "inputs": [ - { - "type": "uint256", - "name": "_entitlementStartTs", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "switchToProductionMode", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "allowedAfterTimestamp", - "internalType": "uint256" - }, - { - "type": "bytes", - "name": "encodedCall", - "internalType": "bytes" - } - ], - "name": "timelockedCalls", - "inputs": [ - { - "type": "bytes4", - "name": "", - "internalType": "bytes4" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalClaimedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalEntitlementWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalOptOutWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "treasury", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_amountWei", - "internalType": "uint256" - } - ], - "name": "withdrawOptOutWei", - "inputs": [ - { - "type": "address", - "name": "_targetAddress", - "internalType": "address payable" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "withdrawnOptOutWei", - "inputs": [] - }, - { - "type": "receive", - "stateMutability": "payable" - } - ] - }, - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - } - }, - "version": 1 - }, - "version": 1, - "checkPoints": [] -} \ No newline at end of file diff --git a/songbird/0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED.json b/songbird/0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED.json new file mode 100644 index 0000000000..cff77b04a0 --- /dev/null +++ b/songbird/0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED.json @@ -0,0 +1,897 @@ +{ + "name": "WNat", + "chainId": 19, + "address": "0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "string", + "name": "_name", + "internalType": "string" + }, + { + "type": "string", + "name": "_symbol", + "internalType": "string" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "spender", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256", + "indexed": false + } + ], + "name": "Approval", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256", + "indexed": false + } + ], + "name": "CreatedTotalSupplyCache", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "dst", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + } + ], + "name": "Deposit", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "from", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "to", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256", + "indexed": false + } + ], + "name": "Transfer", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "_contractType", + "internalType": "uint256", + "indexed": false + }, + { + "type": "address", + "name": "_oldContractAddress", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "_newContractAddress", + "internalType": "address", + "indexed": false + } + ], + "name": "VotePowerContractChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "src", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + } + ], + "name": "Withdrawal", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address" + }, + { + "type": "address", + "name": "spender", + "internalType": "address" + } + ], + "name": "allowance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "spender", + "internalType": "address" + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256" + } + ], + "name": "approve" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_count", + "internalType": "uint256" + } + ], + "name": "balanceHistoryCleanup" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address" + } + ], + "name": "balanceOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "balanceOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_owners", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "batchVotePowerOfAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cleanupBlockNumber" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "decimals" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "spender", + "internalType": "address" + }, + { + "type": "uint256", + "name": "subtractedValue", + "internalType": "uint256" + } + ], + "name": "decreaseAllowance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_to", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_bips", + "internalType": "uint256" + } + ], + "name": "delegate" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_to", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "delegateExplicit" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "delegatesOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "delegatesOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + } + ], + "name": "delegationModeOf" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [], + "name": "deposit" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "address", + "name": "recipient", + "internalType": "address" + } + ], + "name": "depositTo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceVotePower" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "spender", + "internalType": "address" + }, + { + "type": "uint256", + "name": "addedValue", + "internalType": "uint256" + } + ], + "name": "increaseAllowance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "name" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "needsReplacementVPContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "readVotePowerContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "revokeDelegationAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_cleanerContract", + "internalType": "address" + } + ], + "name": "setCleanerContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "setCleanupBlockNumber" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_cleanupBlockNumberManager", + "internalType": "address" + } + ], + "name": "setCleanupBlockNumberManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceVotePower", + "internalType": "contract IIGovernanceVotePower" + } + ], + "name": "setGovernanceVotePower" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_vpContract", + "internalType": "contract IIVPContract" + } + ], + "name": "setReadVpContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_vpContract", + "internalType": "contract IIVPContract" + } + ], + "name": "setWriteVpContract" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "symbol" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalSupply" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "totalSupplyAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "totalSupplyCacheCleanup" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_count", + "internalType": "uint256" + } + ], + "name": "totalSupplyHistoryCleanup" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalVotePower" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "totalVotePowerAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "totalVotePowerAtCached" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "recipient", + "internalType": "address" + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256" + } + ], + "name": "transfer" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "sender", + "internalType": "address" + }, + { + "type": "address", + "name": "recipient", + "internalType": "address" + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256" + } + ], + "name": "transferFrom" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "undelegateAll" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_delegateAddresses", + "internalType": "address[]" + } + ], + "name": "undelegateAllExplicit" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "undelegatedVotePowerOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "undelegatedVotePowerOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_from", + "internalType": "address" + }, + { + "type": "address", + "name": "_to", + "internalType": "address" + } + ], + "name": "votePowerFromTo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_from", + "internalType": "address" + }, + { + "type": "address", + "name": "_to", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "votePowerFromToAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "votePowerOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "votePowerOfAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "votePowerOfAtCached" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "amount", + "internalType": "uint256" + } + ], + "name": "withdraw" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256" + } + ], + "name": "withdrawFrom" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "writeVotePowerContract" + }, + { + "type": "receive", + "stateMutability": "payable" + } + ], + "settings": { + "evmVersion": "istanbul", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x02f0826ef6ad107cfc861152b32b52fd11bab9ed.json b/songbird/0x02f0826ef6ad107cfc861152b32b52fd11bab9ed.json deleted file mode 100644 index 6f72f24c5c..0000000000 --- a/songbird/0x02f0826ef6ad107cfc861152b32b52fd11bab9ed.json +++ /dev/null @@ -1,1209 +0,0 @@ -{ - "name": "Wrapped Songbird", - "chainId": 19, - "address": "0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED", - "metadata": { - "compiler": { - "version": "v0.7.6+commit.7338295f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - }, - { - "type": "string", - "name": "_name", - "internalType": "string" - }, - { - "type": "string", - "name": "_symbol", - "internalType": "string" - } - ] - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CreatedTotalSupplyCache", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Deposit", - "inputs": [ - { - "type": "address", - "name": "dst", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceProposed", - "inputs": [ - { - "type": "address", - "name": "proposedGovernance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceUpdated", - "inputs": [ - { - "type": "address", - "name": "oldGovernance", - "internalType": "address", - "indexed": false - }, - { - "type": "address", - "name": "newGoveranance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "from", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "to", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VotePowerContractChanged", - "inputs": [ - { - "type": "uint256", - "name": "_contractType", - "internalType": "uint256", - "indexed": false - }, - { - "type": "address", - "name": "_oldContractAddress", - "internalType": "address", - "indexed": false - }, - { - "type": "address", - "name": "_newContractAddress", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Withdrawal", - "inputs": [ - { - "type": "address", - "name": "src", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "allowance", - "inputs": [ - { - "type": "address", - "name": "owner", - "internalType": "address" - }, - { - "type": "address", - "name": "spender", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "approve", - "inputs": [ - { - "type": "address", - "name": "spender", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "balanceHistoryCleanup", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "balanceOf", - "inputs": [ - { - "type": "address", - "name": "account", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "balanceOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "", - "internalType": "uint256[]" - } - ], - "name": "batchVotePowerOfAt", - "inputs": [ - { - "type": "address[]", - "name": "_owners", - "internalType": "address[]" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "claimGovernance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "cleanupBlockNumber", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint8", - "name": "", - "internalType": "uint8" - } - ], - "name": "decimals", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "decreaseAllowance", - "inputs": [ - { - "type": "address", - "name": "spender", - "internalType": "address" - }, - { - "type": "uint256", - "name": "subtractedValue", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "delegate", - "inputs": [ - { - "type": "address", - "name": "_to", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_bips", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "delegateExplicit", - "inputs": [ - { - "type": "address", - "name": "_to", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "_delegateAddresses", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_bips", - "internalType": "uint256[]" - }, - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_delegationMode", - "internalType": "uint256" - } - ], - "name": "delegatesOf", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "_delegateAddresses", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_bips", - "internalType": "uint256[]" - }, - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_delegationMode", - "internalType": "uint256" - } - ], - "name": "delegatesOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "delegationModeOf", - "inputs": [ - { - "type": "address", - "name": "_who", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "payable", - "outputs": [], - "name": "deposit", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "payable", - "outputs": [], - "name": "depositTo", - "inputs": [ - { - "type": "address", - "name": "recipient", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "governance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IGovernanceVotePower" - } - ], - "name": "governanceVotePower", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "increaseAllowance", - "inputs": [ - { - "type": "address", - "name": "spender", - "internalType": "address" - }, - { - "type": "uint256", - "name": "addedValue", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "initialise", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "string", - "name": "", - "internalType": "string" - } - ], - "name": "name", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "needsReplacementVPContract", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "proposeGovernance", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "proposedGovernance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IVPContractEvents" - } - ], - "name": "readVotePowerContract", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "revokeDelegationAt", - "inputs": [ - { - "type": "address", - "name": "_who", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setCleanerContract", - "inputs": [ - { - "type": "address", - "name": "_cleanerContract", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setCleanupBlockNumber", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setCleanupBlockNumberManager", - "inputs": [ - { - "type": "address", - "name": "_cleanupBlockNumberManager", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setGovernanceVotePower", - "inputs": [ - { - "type": "address", - "name": "_governanceVotePower", - "internalType": "contract IIGovernanceVotePower" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setReadVpContract", - "inputs": [ - { - "type": "address", - "name": "_vpContract", - "internalType": "contract IIVPContract" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setWriteVpContract", - "inputs": [ - { - "type": "address", - "name": "_vpContract", - "internalType": "contract IIVPContract" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "string", - "name": "", - "internalType": "string" - } - ], - "name": "symbol", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupply", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupplyAt", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupplyCacheCleanup", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSupplyHistoryCleanup", - "inputs": [ - { - "type": "uint256", - "name": "_count", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalVotePower", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalVotePowerAt", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalVotePowerAtCached", - "inputs": [ - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "transfer", - "inputs": [ - { - "type": "address", - "name": "recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "transferFrom", - "inputs": [ - { - "type": "address", - "name": "sender", - "internalType": "address" - }, - { - "type": "address", - "name": "recipient", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "transferGovernance", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "undelegateAll", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_remainingDelegation", - "internalType": "uint256" - } - ], - "name": "undelegateAllExplicit", - "inputs": [ - { - "type": "address[]", - "name": "_delegateAddresses", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "undelegatedVotePowerOf", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "undelegatedVotePowerOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerFromTo", - "inputs": [ - { - "type": "address", - "name": "_from", - "internalType": "address" - }, - { - "type": "address", - "name": "_to", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerFromToAt", - "inputs": [ - { - "type": "address", - "name": "_from", - "internalType": "address" - }, - { - "type": "address", - "name": "_to", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOf", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOfAt", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "votePowerOfAtCached", - "inputs": [ - { - "type": "address", - "name": "_owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_blockNumber", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "withdraw", - "inputs": [ - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "withdrawFrom", - "inputs": [ - { - "type": "address", - "name": "owner", - "internalType": "address" - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IVPContractEvents" - } - ], - "name": "writeVotePowerContract", - "inputs": [] - }, - { - "type": "receive", - "stateMutability": "payable" - } - ] - }, - "settings": { - "evmVersion": "istanbul", - "optimizer": { - "enabled": true, - "runs": 200 - } - }, - "version": 1 - }, - "version": 1, - "checkPoints": [] -} \ No newline at end of file diff --git a/songbird/0x0c13aDA1C7143Cf0a0795FFaB93eEBb6FAD6e4e3.json b/songbird/0x0c13aDA1C7143Cf0a0795FFaB93eEBb6FAD6e4e3.json new file mode 100644 index 0000000000..a4f32edf9e --- /dev/null +++ b/songbird/0x0c13aDA1C7143Cf0a0795FFaB93eEBb6FAD6e4e3.json @@ -0,0 +1,246 @@ +{ + "name": "StateConnector", + "chainId": 19, + "address": "0x0c13aDA1C7143Cf0a0795FFaB93eEBb6FAD6e4e3", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "sender", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "data", + "internalType": "bytes", + "indexed": false + } + ], + "name": "AttestationRequest", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "roundId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "bytes32", + "name": "merkleRoot", + "internalType": "bytes32", + "indexed": false + } + ], + "name": "RoundFinalised", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "BUFFER_TIMESTAMP_OFFSET" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "BUFFER_WINDOW" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "SIGNAL_COINBASE" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "TOTAL_STORED_BUFFERS" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "TOTAL_STORED_PROOFS" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "attestorAddressMapping" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "buffers" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_bufferNumber", + "internalType": "uint256" + }, + { + "type": "bytes32", + "name": "_merkleRoot", + "internalType": "bytes32" + } + ], + "name": "finaliseRound" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_bufferNumber", + "internalType": "uint256" + } + ], + "name": "getAttestation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastFinalizedRoundId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_roundId", + "internalType": "uint256" + } + ], + "name": "merkleRoot" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "merkleRoots" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes", + "name": "_data", + "internalType": "bytes" + } + ], + "name": "requestAttestations" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_bufferNumber", + "internalType": "uint256" + }, + { + "type": "bytes32", + "name": "_commitHash", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "_merkleRoot", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "_randomNumber", + "internalType": "bytes32" + } + ], + "name": "submitAttestation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalBuffers" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_updatedAddress", + "internalType": "address" + } + ], + "name": "updateAttestorAddressMapping" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x1000000000000000000000000000000000000002.json b/songbird/0x1000000000000000000000000000000000000002.json new file mode 100644 index 0000000000..fcfee297d7 --- /dev/null +++ b/songbird/0x1000000000000000000000000000000000000002.json @@ -0,0 +1,482 @@ +{ + "name": "FlareDaemon", + "chainId": 19, + "address": "0x1000000000000000000000000000000000000002", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "atBlock", + "internalType": "uint256", + "indexed": false + }, + { + "type": "string", + "name": "theMessage", + "internalType": "string", + "indexed": false + }, + { + "type": "uint256", + "name": "gasConsumed", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractDaemonizeErrored", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "gasConsumed", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractDaemonized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "blockHoldoffsRemaining", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractHeldOff", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "numberOfSkippedConstracts", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ContractsSkippedOutOfGas", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theNewContract", + "internalType": "contract IInflationGenesis", + "indexed": false + }, + { + "type": "address", + "name": "theOldContract", + "internalType": "contract IInflationGenesis", + "indexed": false + } + ], + "name": "InflationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingRequestReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingRequestTriggered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MintingWithdrawn", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "contract IFlareDaemonize", + "indexed": false + }, + { + "type": "bool", + "name": "add", + "internalType": "bool", + "indexed": false + } + ], + "name": "RegistrationUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SelfDestructReceived", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "blockHoldoff" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "errorData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getDaemonizedContractsData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getNextMintRequestAllowedTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "inflation" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "initialiseFixedAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastMintRequestTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastUpdateMaxMintRequestTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maxMintingRequestWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_registrations", + "internalType": "struct FlareDaemon.Registration[]" + } + ], + "name": "registerToDaemonize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "requestMinting" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockHoldoff", + "internalType": "uint256" + } + ], + "name": "setBlockHoldoff" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_inflation", + "internalType": "contract IInflationGenesis" + } + ], + "name": "setInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_maxMintingRequestWei", + "internalType": "uint256" + } + ], + "name": "setMaxMintingRequest" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "startIndex", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "numErrorTypesToShow", + "internalType": "uint256" + } + ], + "name": "showDaemonizedErrors" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "showLastDaemonizedError" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "systemLastTriggeredAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalMintingReceivedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalMintingRequestedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalMintingWithdrawnWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalSelfDestructReceivedWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "trigger" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "unregisterAll" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x1000000000000000000000000000000000000003.json b/songbird/0x1000000000000000000000000000000000000003.json new file mode 100644 index 0000000000..e4302a4a53 --- /dev/null +++ b/songbird/0x1000000000000000000000000000000000000003.json @@ -0,0 +1,357 @@ +{ + "name": "PriceSubmitter", + "chainId": 19, + "address": "0x1000000000000000000000000000000000000003", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "proposedGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldGovernance", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGoveranance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "submitter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "address[]", + "name": "ftsos", + "internalType": "contract IFtsoGenesis[]", + "indexed": false + }, + { + "type": "bytes32[]", + "name": "hashes", + "internalType": "bytes32[]", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "PriceHashesSubmitted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "address[]", + "name": "ftsos", + "internalType": "contract IFtsoGenesis[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "prices", + "internalType": "uint256[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "randoms", + "internalType": "uint256[]", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "PricesRevealed", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "claimGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFtsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFtsoRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTrustedAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getVoterWhitelister" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "initialiseFixedAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "proposeGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposedGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_epochId", + "internalType": "uint256" + }, + { + "type": "uint256[]", + "name": "_ftsoIndices", + "internalType": "uint256[]" + }, + { + "type": "uint256[]", + "name": "_prices", + "internalType": "uint256[]" + }, + { + "type": "uint256[]", + "name": "_randoms", + "internalType": "uint256[]" + } + ], + "name": "revealPrices" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftsoRegistry", + "internalType": "contract IFtsoRegistryGenesis" + }, + { + "type": "address", + "name": "_voterWhitelister", + "internalType": "address" + }, + { + "type": "address", + "name": "_ftsoManager", + "internalType": "address" + } + ], + "name": "setContractAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_trustedAddresses", + "internalType": "address[]" + } + ], + "name": "setTrustedAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_epochId", + "internalType": "uint256" + }, + { + "type": "uint256[]", + "name": "_ftsoIndices", + "internalType": "uint256[]" + }, + { + "type": "bytes32[]", + "name": "_hashes", + "internalType": "bytes32[]" + } + ], + "name": "submitPriceHashes" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ], + "name": "transferGovernance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "voterWhitelistBitmap" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "voterWhitelisted" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_removedVoters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "votersRemovedFromWhitelist" + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x11e8d7dcb7e7b62E6984E7fF29C736A8fA857c11.json b/songbird/0x11e8d7dcb7e7b62E6984E7fF29C736A8fA857c11.json new file mode 100644 index 0000000000..0ecd0e8179 --- /dev/null +++ b/songbird/0x11e8d7dcb7e7b62E6984E7fF29C736A8fA857c11.json @@ -0,0 +1,357 @@ +{ + "name": "InflationAllocation", + "chainId": 19, + "address": "0x11e8d7dcb7e7b62E6984E7fF29C736A8fA857c11", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint256[]", + "name": "_timeSlotInflationScheduleBips", + "internalType": "uint256[]" + } + ] + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getSharingPercentages" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "getTimeSlotPercentageBips" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "inflation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "inflationReceivers" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastTimeSlotInflationPercentageBips" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_inflationReceivers", + "internalType": "contract IIInflationReceiver[]" + }, + { + "type": "uint256[]", + "name": "_percentagePerReceiverBips", + "internalType": "uint256[]" + } + ], + "name": "setSharingPercentages" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256[]", + "name": "_timeSlotInflationScheduleBips", + "internalType": "uint256[]" + } + ], + "name": "setTimeSlotInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "timeSlotInflationPercentagesBips" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldAddress", + "indexed": false + }, + { + "type": "address", + "name": "newAddress", + "indexed": false + } + ], + "name": "InflationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address[]", + "name": "inflationReceivers", + "indexed": false + }, + { + "type": "uint256[]", + "name": "percentagePerReceiverBips", + "indexed": false + } + ], + "name": "InflationSharingPercentagesSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256[]", + "name": "timeSlotInflationPercentagesBips", + "indexed": false + } + ], + "name": "TimeSlotInflationPercentageScheduleSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "percentageBips", + "indexed": false + } + ], + "name": "TimeSlotInflationPercentageYielded", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x126FAeEc75601dA3354c0b5Cc0b60C85fCbC3A5e.json b/songbird/0x126FAeEc75601dA3354c0b5Cc0b60C85fCbC3A5e.json new file mode 100644 index 0000000000..520a04e8ff --- /dev/null +++ b/songbird/0x126FAeEc75601dA3354c0b5Cc0b60C85fCbC3A5e.json @@ -0,0 +1,459 @@ +{ + "name": "FlareSystemsCalculator", + "chainId": 19, + "address": "0x126FAeEc75601dA3354c0b5Cc0b60C85fCbC3A5e", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint24", + "name": "_wNatCapPPM", + "internalType": "uint24" + }, + { + "type": "uint64", + "name": "_signingPolicySignNonPunishableDurationSeconds", + "internalType": "uint64" + }, + { + "type": "uint64", + "name": "_signingPolicySignNonPunishableDurationBlocks", + "internalType": "uint64" + }, + { + "type": "uint64", + "name": "_signingPolicySignNoRewardsDurationBlocks", + "internalType": "uint64" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "address", + "name": "delegationAddress", + "internalType": "address", + "indexed": false + }, + { + "type": "uint16", + "name": "delegationFeeBIPS", + "internalType": "uint16", + "indexed": false + }, + { + "type": "uint256", + "name": "wNatWeight", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "wNatCappedWeight", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes20[]", + "name": "nodeIds", + "internalType": "bytes20[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "nodeWeights", + "internalType": "uint256[]", + "indexed": false + } + ], + "name": "VoterRegistrationInfo", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "calculateBurnFactorPPM" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "uint256", + "name": "_votePowerBlockNumber", + "internalType": "uint256" + } + ], + "name": "calculateRegistrationWeight" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "enablePChainStakeMirror" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "entityManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "pChainStakeMirror" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "pChainStakeMirrorEnabled" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_wNatCapPPM", + "internalType": "uint24" + } + ], + "name": "setWNatCapPPM" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "signingPolicySignNoRewardsDurationBlocks" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "signingPolicySignNonPunishableDurationBlocks" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "signingPolicySignNonPunishableDurationSeconds" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "uint256", + "name": "_x", + "internalType": "uint256" + } + ], + "name": "sqrt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "wNat" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "wNatCapPPM" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "wNatDelegationFee" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x13F7866568dC476cC3522d17C23C35FEDc1431C5.json b/songbird/0x13F7866568dC476cC3522d17C23C35FEDc1431C5.json new file mode 100644 index 0000000000..4c1868b9d4 --- /dev/null +++ b/songbird/0x13F7866568dC476cC3522d17C23C35FEDc1431C5.json @@ -0,0 +1,998 @@ +{ + "name": "FtsoRewardManager", + "chainId": 19, + "address": "0x13F7866568dC476cC3522d17C23C35FEDc1431C5", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address", + "name": "_oldFtsoRewardManager", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_feePercentageUpdateOffset", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_defaultFeePercentage", + "internalType": "uint256" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "authorizedAmountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "DailyAuthorizedInflationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "dataProvider", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "validFromEpoch", + "internalType": "uint256", + "indexed": false + } + ], + "name": "FeePercentageChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftsoRewardManager", + "internalType": "address", + "indexed": false + } + ], + "name": "FtsoRewardManagerActivated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftsoRewardManager", + "internalType": "address", + "indexed": false + } + ], + "name": "FtsoRewardManagerDeactivated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountReceivedWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "InflationReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "dataProvider", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "whoClaimed", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "sentTo", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "rewardEpoch", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + } + ], + "name": "RewardClaimed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "RewardClaimsEnabled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "RewardClaimsExpired", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountBurnedWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "RewardsBurned", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": false + }, + { + "type": "address[]", + "name": "addresses", + "internalType": "address[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "rewards", + "internalType": "uint256[]", + "indexed": false + } + ], + "name": "RewardsDistributed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "reward", + "internalType": "uint256", + "indexed": false + } + ], + "name": "UnearnedRewardsAccrued", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_epochId", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_priceEpochDurationSeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_priceEpochEndTime", + "internalType": "uint256" + } + ], + "name": "accrueUnearnedRewards" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "activate" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "active" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_rewardOwners", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "autoClaim" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + }, + { + "type": "address", + "name": "_recipient", + "internalType": "address payable" + }, + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + }, + { + "type": "bool", + "name": "_wrap", + "internalType": "bool" + } + ], + "name": "claim" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + }, + { + "type": "address", + "name": "_recipient", + "internalType": "address payable" + }, + { + "type": "uint256[]", + "name": "_rewardEpochs", + "internalType": "uint256[]" + }, + { + "type": "address[]", + "name": "_dataProviders", + "internalType": "address[]" + }, + { + "type": "bool", + "name": "_wrap", + "internalType": "bool" + } + ], + "name": "claimFromDataProviders" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_recipient", + "internalType": "address payable" + }, + { + "type": "uint256[]", + "name": "_rewardEpochs", + "internalType": "uint256[]" + } + ], + "name": "claimReward" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_recipient", + "internalType": "address payable" + }, + { + "type": "uint256[]", + "name": "_rewardEpochs", + "internalType": "uint256[]" + }, + { + "type": "address[]", + "name": "_dataProviders", + "internalType": "address[]" + } + ], + "name": "claimRewardFromDataProviders" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "claimSetupManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "closeExpiredRewardEpoch" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "deactivate" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "defaultFeePercentage" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_addresses", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_weights", + "internalType": "uint256[]" + }, + { + "type": "uint256", + "name": "_totalWeight", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_epochId", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_ftso", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_priceEpochDurationSeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_currentRewardEpoch", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_priceEpochEndTime", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_votePowerBlock", + "internalType": "uint256" + } + ], + "name": "distributeRewards" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "enableClaims" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feePercentageUpdateOffset" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "firstClaimableRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_dataProvider", + "internalType": "address" + }, + { + "type": "address", + "name": "_claimer", + "internalType": "address" + } + ], + "name": "getClaimedReward" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_dataProvider", + "internalType": "address" + } + ], + "name": "getDataProviderCurrentFeePercentage" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_dataProvider", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "getDataProviderFeePercentage" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_dataProvider", + "internalType": "address" + } + ], + "name": "getDataProviderPerformanceInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_dataProvider", + "internalType": "address" + } + ], + "name": "getDataProviderScheduledFeePercentageChanges" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "getEpochReward" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getEpochsWithClaimableRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_beneficiary", + "internalType": "address" + } + ], + "name": "getEpochsWithUnclaimedRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getInflationAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getInitialRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardEpochToExpireNext" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "getRewardEpochVotePowerBlock" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_beneficiary", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "getStateOfRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_beneficiary", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + }, + { + "type": "address[]", + "name": "_dataProviders", + "internalType": "address[]" + } + ], + "name": "getStateOfRewardsFromDataProviders" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTokenPoolSupplyData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTotals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_dataProvider", + "internalType": "address" + } + ], + "name": "getUnclaimedReward" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "newFtsoRewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + } + ], + "name": "nextClaimableRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "oldFtsoRewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [], + "name": "receiveInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_toAuthorizeWei", + "internalType": "uint256" + } + ], + "name": "setDailyAuthorizedInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_feePercentageBIPS", + "internalType": "uint256" + } + ], + "name": "setDataProviderFeePercentage" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "setInitialRewardData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newFtsoRewardManager", + "internalType": "address" + } + ], + "name": "setNewFtsoRewardManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "wNat" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x183fAfF6997C98A812A3B98748Fc80241D08f312.json b/songbird/0x183fAfF6997C98A812A3B98748Fc80241D08f312.json new file mode 100644 index 0000000000..f2babc1a85 --- /dev/null +++ b/songbird/0x183fAfF6997C98A812A3B98748Fc80241D08f312.json @@ -0,0 +1,201 @@ +{ + "name": "GovernanceSettings", + "chainId": 19, + "address": "0x183fAfF6997C98A812A3B98748Fc80241D08f312", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "address", + "name": "oldGovernanceAddress", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "newGovernanceAddress", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceAddressUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "address[]", + "name": "oldExecutors", + "internalType": "address[]", + "indexed": false + }, + { + "type": "address[]", + "name": "newExecutors", + "internalType": "address[]", + "indexed": false + } + ], + "name": "GovernanceExecutorsUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "oldTimelock", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "newTimelock", + "internalType": "uint256", + "indexed": false + } + ], + "name": "GovernanceTimelockUpdated", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "SIGNAL_COINBASE" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getExecutors" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getGovernanceAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTimelock" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceAddress", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_timelock", + "internalType": "uint256" + }, + { + "type": "address[]", + "name": "_executors", + "internalType": "address[]" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_newExecutors", + "internalType": "address[]" + } + ], + "name": "setExecutors" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newGovernance", + "internalType": "address" + } + ], + "name": "setGovernanceAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_newTimelock", + "internalType": "uint256" + } + ], + "name": "setTimelock" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f.json b/songbird/0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f.json new file mode 100644 index 0000000000..0d5076f263 --- /dev/null +++ b/songbird/0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f.json @@ -0,0 +1,390 @@ +{ + "name": "Submission", + "chainId": 19, + "address": "0x2cA6571Daa15ce734Bbd0Bf27D5C9D16787fc33f", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "bool", + "name": "_submit3MethodEnabled", + "internalType": "bool" + } + ] + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRandom" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRandomWithQuality" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRandomWithQualityAndTimestamp" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_submit1Addresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_submit2Addresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_submit3Addresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_submitSignaturesAddresses", + "internalType": "address[]" + } + ], + "name": "initNewVotingRound" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "relay" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_enabled", + "internalType": "bool" + } + ], + "name": "setSubmit3MethodEnabled" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_submitAndPassContract", + "internalType": "address" + }, + { + "type": "bytes4", + "name": "_submitAndPassSelector", + "internalType": "bytes4" + } + ], + "name": "setSubmitAndPassData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submit1" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submit2" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submit3" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submit3MethodEnabled" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes", + "name": "_data", + "internalType": "bytes" + } + ], + "name": "submitAndPass" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submitAndPassContract" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submitAndPassSelector" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "submitSignatures" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [], + "name": "NewVotingRoundInitiated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x31B9EC65C731c7D973a33Ef3FC83B653f540dC8D.json b/songbird/0x31B9EC65C731c7D973a33Ef3FC83B653f540dC8D.json new file mode 100644 index 0000000000..08376f88f3 --- /dev/null +++ b/songbird/0x31B9EC65C731c7D973a33Ef3FC83B653f540dC8D.json @@ -0,0 +1,782 @@ +{ + "name": "VoterRegistry", + "chainId": 19, + "address": "0x31B9EC65C731c7D973a33Ef3FC83B653f540dC8D", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_maxVoters", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_initialRewardEpochId", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_initialNewSigningPolicyInitializationStartBlockNumber", + "internalType": "uint256" + }, + { + "type": "uint16", + "name": "_initialNormalisedWeightsSumOfVotersWithPublicKeys", + "internalType": "uint16" + }, + { + "type": "address[]", + "name": "_initialVoters", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_initialRegistrationWeights", + "internalType": "uint256[]" + } + ] + }, + { + "type": "error", + "inputs": [], + "name": "ECDSAInvalidSignature" + }, + { + "type": "error", + "inputs": [ + { + "type": "uint256", + "name": "length", + "internalType": "uint256" + } + ], + "name": "ECDSAInvalidSignatureLength" + }, + { + "type": "error", + "inputs": [ + { + "type": "bytes32", + "name": "s", + "internalType": "bytes32" + } + ], + "name": "ECDSAInvalidSignatureS" + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes20", + "name": "beneficiary", + "internalType": "bytes20", + "indexed": true + }, + { + "type": "uint256", + "name": "untilRewardEpochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "BeneficiaryChilled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "submitAddress", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "submitSignaturesAddress", + "internalType": "address", + "indexed": false + }, + { + "type": "bytes32", + "name": "publicKeyPart1", + "internalType": "bytes32", + "indexed": false + }, + { + "type": "bytes32", + "name": "publicKeyPart2", + "internalType": "bytes32", + "indexed": false + }, + { + "type": "uint256", + "name": "registrationWeight", + "internalType": "uint256", + "indexed": false + } + ], + "name": "VoterRegistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "VoterRemoved", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes20[]", + "name": "_beneficiaryList", + "internalType": "bytes20[]" + }, + { + "type": "uint256", + "name": "_noOfRewardEpochs", + "internalType": "uint256" + } + ], + "name": "chill" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes20", + "name": "beneficiary", + "internalType": "bytes20" + } + ], + "name": "chilledUntilRewardEpochId" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "createSigningPolicySnapshot" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "entityManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsCalculator" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getNumberOfRegisteredVoters" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_signingPolicyAddress", + "internalType": "address" + } + ], + "name": "getPublicKeyAndNormalisedWeight" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredDelegationAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredNodeIds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredPublicKeys" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredSigningPolicyAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredSubmitAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredSubmitSignaturesAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredVoters" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredVotersAndNormalisedWeights" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRegisteredVotersAndRegistrationWeights" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getVoterNormalisedWeight" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getVoterRegistrationWeight" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_signingPolicyAddress", + "internalType": "address" + } + ], + "name": "getVoterWithNormalisedWeight" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getWeightsSums" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "isVoterRegistered" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maxVoters" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + } + ], + "name": "newSigningPolicyInitializationStartBlockNumber" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "publicKeyRequired" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "tuple", + "name": "_signature", + "internalType": "struct IVoterRegistry.Signature" + } + ], + "name": "registerVoter" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_maxVoters", + "internalType": "uint256" + } + ], + "name": "setMaxVoters" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "setNewSigningPolicyInitializationStartBlockNumber" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_publicKeyRequired", + "internalType": "bool" + } + ], + "name": "setPublicKeyRequired" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_systemRegistrationContractAddress", + "internalType": "address" + } + ], + "name": "setSystemRegistrationContractAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "systemRegistration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "systemRegistrationContractAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x3499a6D765640F8D35538cF0a292BcA38504353C.json b/songbird/0x3499a6D765640F8D35538cF0a292BcA38504353C.json new file mode 100644 index 0000000000..20cec9528e --- /dev/null +++ b/songbird/0x3499a6D765640F8D35538cF0a292BcA38504353C.json @@ -0,0 +1,167 @@ +{ + "name": "WNatDelegationFee", + "chainId": 19, + "address": "0x3499a6D765640F8D35538cF0a292BcA38504353C", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint24", + "name": "_feePercentageUpdateOffset", + "internalType": "uint24" + }, + { + "type": "uint16", + "name": "_defaultFeePercentageBIPS", + "internalType": "uint16" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint16", + "name": "value", + "internalType": "uint16", + "indexed": false + }, + { + "type": "uint24", + "name": "validFromEpochId", + "internalType": "uint24", + "indexed": false + } + ], + "name": "FeePercentageChanged", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "defaultFeePercentageBIPS" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feePercentageUpdateOffset" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterCurrentFeePercentage" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getVoterFeePercentage" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterScheduledFeePercentageChanges" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint16", + "name": "_feePercentageBIPS", + "internalType": "uint16" + } + ], + "name": "setVoterFeePercentage" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x421c69E22f48e14Fc2d2Ee3812c59bfb81c38516.json b/songbird/0x421c69E22f48e14Fc2d2Ee3812c59bfb81c38516.json new file mode 100644 index 0000000000..3d17694dc1 --- /dev/null +++ b/songbird/0x421c69E22f48e14Fc2d2Ee3812c59bfb81c38516.json @@ -0,0 +1,1252 @@ +{ + "name": "ProtocolsV2", + "chainId": 19, + "address": "0x421c69E22f48e14Fc2d2Ee3812c59bfb81c38516", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address", + "name": "_flareDaemon", + "internalType": "address" + }, + { + "type": "tuple", + "name": "_settings", + "internalType": "struct FlareSystemsManager.Settings" + }, + { + "type": "uint32", + "name": "_firstVotingRoundStartTs", + "internalType": "uint32" + }, + { + "type": "uint8", + "name": "_votingEpochDurationSeconds", + "internalType": "uint8" + }, + { + "type": "uint32", + "name": "_firstRewardEpochStartVotingRoundId", + "internalType": "uint32" + }, + { + "type": "uint16", + "name": "_rewardEpochDurationInVotingEpochs", + "internalType": "uint16" + }, + { + "type": "tuple", + "name": "_initialSettings", + "internalType": "struct FlareSystemsManager.InitialSettings" + } + ] + }, + { + "type": "error", + "inputs": [], + "name": "ECDSAInvalidSignature" + }, + { + "type": "error", + "inputs": [ + { + "type": "uint256", + "name": "length", + "internalType": "uint256" + } + ], + "name": "ECDSAInvalidSignatureLength" + }, + { + "type": "error", + "inputs": [ + { + "type": "bytes32", + "name": "s", + "internalType": "bytes32" + } + ], + "name": "ECDSAInvalidSignatureS" + }, + { + "type": "error", + "inputs": [ + { + "type": "uint8", + "name": "bits", + "internalType": "uint8" + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast" + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": false + } + ], + "name": "ClosingExpiredRewardEpochFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + } + ], + "name": "RandomAcquisitionStarted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "uint32", + "name": "startVotingRoundId", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + } + ], + "name": "RewardEpochStarted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes32", + "name": "rewardsHash", + "internalType": "bytes32", + "indexed": false + }, + { + "type": "tuple[]", + "name": "noOfWeightBasedClaims", + "internalType": "struct IFlareSystemsManager.NumberOfWeightBasedClaims[]", + "indexed": false + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + }, + { + "type": "bool", + "name": "thresholdReached", + "internalType": "bool", + "indexed": false + } + ], + "name": "RewardsSigned", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint64", + "name": "blockNumber", + "internalType": "uint64", + "indexed": false + } + ], + "name": "SettingCleanUpBlockNumberFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + } + ], + "name": "SignUptimeVoteEnabled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + }, + { + "type": "bool", + "name": "thresholdReached", + "internalType": "bool", + "indexed": false + } + ], + "name": "SigningPolicySigned", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": false + } + ], + "name": "TriggeringVoterRegistrationFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes32", + "name": "uptimeVoteHash", + "internalType": "bytes32", + "indexed": false + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + }, + { + "type": "bool", + "name": "thresholdReached", + "internalType": "bool", + "indexed": false + } + ], + "name": "UptimeVoteSigned", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes20[]", + "name": "nodeIds", + "internalType": "bytes20[]", + "indexed": false + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + } + ], + "name": "UptimeVoteSubmitted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "uint64", + "name": "votePowerBlock", + "internalType": "uint64", + "indexed": false + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + } + ], + "name": "VotePowerBlockSelected", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cleanupBlockNumberManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "currentRewardEpochExpectedEndTs" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "daemonize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "firstRewardEpochStartTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "firstVotingRoundStartTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareDaemon" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRewardEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentVotingEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getRandomAcquisitionInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getRewardEpochStartInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardEpochSwitchoverTriggerContracts" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getRewardsSignInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getSeed" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getSigningPolicySignInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getStartVotingRoundId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getThreshold" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getUptimeVoteSignStartInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getVotePowerBlock" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getVoterRegistrationData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterRewardsSignInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterSigningPolicySignInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterUptimeVoteSignInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterUptimeVoteSubmitInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "initialRandomVotePowerBlockSelectionSize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "isVoterRegistrationEnabled" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastInitializedVotingRoundId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "newSigningPolicyInitializationStartSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "newSigningPolicyMinNumberOfVotingRoundsDelay" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "rewardManagerId", + "internalType": "uint256" + } + ], + "name": "noOfWeightBasedClaims" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + } + ], + "name": "noOfWeightBasedClaimsHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "randomAcquisitionMaxDurationBlocks" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "randomAcquisitionMaxDurationSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "relay" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardEpochDurationSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardEpochIdToExpireNext" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardExpiryOffsetSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + } + ], + "name": "rewardsHash" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_contracts", + "internalType": "contract IIRewardEpochSwitchoverTrigger[]" + } + ], + "name": "setRewardEpochSwitchoverTriggerContracts" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "tuple[]", + "name": "_noOfWeightBasedClaims", + "internalType": "struct IFlareSystemsManager.NumberOfWeightBasedClaims[]" + }, + { + "type": "bytes32", + "name": "_rewardsHash", + "internalType": "bytes32" + } + ], + "name": "setRewardsData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_submit3Aligned", + "internalType": "bool" + } + ], + "name": "setSubmit3Aligned" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_triggerExpirationAndCleanup", + "internalType": "bool" + } + ], + "name": "setTriggerExpirationAndCleanup" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_contract", + "internalType": "contract IIVoterRegistrationTrigger" + } + ], + "name": "setVoterRegistrationTriggerContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "bytes32", + "name": "_newSigningPolicyHash", + "internalType": "bytes32" + }, + { + "type": "tuple", + "name": "_signature", + "internalType": "struct IFlareSystemsManager.Signature" + } + ], + "name": "signNewSigningPolicy" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "tuple[]", + "name": "_noOfWeightBasedClaims", + "internalType": "struct IFlareSystemsManager.NumberOfWeightBasedClaims[]" + }, + { + "type": "bytes32", + "name": "_rewardsHash", + "internalType": "bytes32" + }, + { + "type": "tuple", + "name": "_signature", + "internalType": "struct IFlareSystemsManager.Signature" + } + ], + "name": "signRewards" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "bytes32", + "name": "_uptimeVoteHash", + "internalType": "bytes32" + }, + { + "type": "tuple", + "name": "_signature", + "internalType": "struct IFlareSystemsManager.Signature" + } + ], + "name": "signUptimeVote" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "signingPolicyMinNumberOfVoters" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "signingPolicyThresholdPPM" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submission" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submit3Aligned" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "bytes20[]", + "name": "_nodeIds", + "internalType": "bytes20[]" + }, + { + "type": "tuple", + "name": "_signature", + "internalType": "struct IFlareSystemsManager.Signature" + } + ], + "name": "submitUptimeVote" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submitUptimeVoteMinDurationBlocks" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submitUptimeVoteMinDurationSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "switchToFallbackMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "triggerExpirationAndCleanup" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple", + "name": "_settings", + "internalType": "struct FlareSystemsManager.Settings" + } + ], + "name": "updateSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + } + ], + "name": "uptimeVoteHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterRegistrationMinDurationBlocks" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterRegistrationMinDurationSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterRegistrationTriggerContract" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "votingEpochDurationSeconds" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x46C417D0760198E94fee455CE0e223262a3D0049.json b/songbird/0x46C417D0760198E94fee455CE0e223262a3D0049.json new file mode 100644 index 0000000000..598a9c7da1 --- /dev/null +++ b/songbird/0x46C417D0760198E94fee455CE0e223262a3D0049.json @@ -0,0 +1,1044 @@ +{ + "name": "EntityManager", + "chainId": 19, + "address": "0x46C417D0760198E94fee455CE0e223262a3D0049", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "uint32", + "name": "_maxNodeIdsPerEntity", + "internalType": "uint32" + } + ] + }, + { + "type": "error", + "inputs": [ + { + "type": "uint8", + "name": "bits", + "internalType": "uint8" + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast" + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "delegationAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "DelegationAddressProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "delegationAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "DelegationAddressRegistrationConfirmed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "maxNodeIdsPerEntity", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MaxNodeIdsPerEntitySet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes20", + "name": "nodeId", + "internalType": "bytes20", + "indexed": true + } + ], + "name": "NodeIdRegistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes20", + "name": "nodeId", + "internalType": "bytes20", + "indexed": true + } + ], + "name": "NodeIdUnregistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes32", + "name": "part1", + "internalType": "bytes32", + "indexed": true + }, + { + "type": "bytes32", + "name": "part2", + "internalType": "bytes32", + "indexed": true + } + ], + "name": "PublicKeyRegistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "bytes32", + "name": "part1", + "internalType": "bytes32", + "indexed": true + }, + { + "type": "bytes32", + "name": "part2", + "internalType": "bytes32", + "indexed": true + } + ], + "name": "PublicKeyUnregistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "SigningPolicyAddressProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "SigningPolicyAddressRegistrationConfirmed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "submitAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "SubmitAddressProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "submitAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "SubmitAddressRegistrationConfirmed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "submitSignaturesAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "SubmitSignaturesAddressProposed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "submitSignaturesAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "SubmitSignaturesAddressRegistrationConfirmed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "confirmDelegationAddressRegistration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "confirmSigningPolicyAddressRegistration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "confirmSubmitAddressRegistration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "confirmSubmitSignaturesAddressRegistration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getDelegationAddressOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getDelegationAddressOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_voters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getDelegationAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_voters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getNodeIds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getNodeIdsOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getNodeIdsOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getPublicKeyOf" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getPublicKeyOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_voters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getPublicKeys" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_voters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getSigningPolicyAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_voters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getSubmitAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_voters", + "internalType": "address[]" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getSubmitSignaturesAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "getVoterAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterAddressesAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_delegationAddress", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterForDelegationAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes20", + "name": "_nodeId", + "internalType": "bytes20" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterForNodeId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "_part1", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "_part2", + "internalType": "bytes32" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterForPublicKey" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_signingPolicyAddress", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterForSigningPolicyAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_submitAddress", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterForSubmitAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_submitSignaturesAddress", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVoterForSubmitSignaturesAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maxNodeIdsPerEntity" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "nodePossessionVerifier" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_delegationAddress", + "internalType": "address" + } + ], + "name": "proposeDelegationAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_signingPolicyAddress", + "internalType": "address" + } + ], + "name": "proposeSigningPolicyAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_submitAddress", + "internalType": "address" + } + ], + "name": "proposeSubmitAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_submitSignaturesAddress", + "internalType": "address" + } + ], + "name": "proposeSubmitSignaturesAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "publicKeyVerifier" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes20", + "name": "_nodeId", + "internalType": "bytes20" + }, + { + "type": "bytes", + "name": "_certificateRaw", + "internalType": "bytes" + }, + { + "type": "bytes", + "name": "_signature", + "internalType": "bytes" + } + ], + "name": "registerNodeId" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32", + "name": "_part1", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "_part2", + "internalType": "bytes32" + }, + { + "type": "bytes", + "name": "_verificationData", + "internalType": "bytes" + } + ], + "name": "registerPublicKey" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_data", + "internalType": "struct EntityManager.InitialVoterData[]" + } + ], + "name": "setInitialVoterData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint32", + "name": "_newMaxNodeIdsPerEntity", + "internalType": "uint32" + } + ], + "name": "setMaxNodeIdsPerEntity" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_nodePossessionVerifier", + "internalType": "contract IINodePossessionVerifier" + } + ], + "name": "setNodePossessionVerifier" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_publicKeyVerifier", + "internalType": "contract IIPublicKeyVerifier" + } + ], + "name": "setPublicKeyVerifier" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes20", + "name": "_nodeId", + "internalType": "bytes20" + } + ], + "name": "unregisterNodeId" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "unregisterPublicKey" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x596C70Ad6fFFdb9b6158F1Dfd0bc32cc72B82006.json b/songbird/0x596C70Ad6fFFdb9b6158F1Dfd0bc32cc72B82006.json new file mode 100644 index 0000000000..62fe80921a --- /dev/null +++ b/songbird/0x596C70Ad6fFFdb9b6158F1Dfd0bc32cc72B82006.json @@ -0,0 +1,631 @@ +{ + "name": "FastUpdateIncentiveManager", + "chainId": 19, + "address": "0x596C70Ad6fFFdb9b6158F1Dfd0bc32cc72B82006", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_ss", + "internalType": "SampleSize" + }, + { + "type": "uint256", + "name": "_r", + "internalType": "Range" + }, + { + "type": "uint256", + "name": "_sil", + "internalType": "SampleSize" + }, + { + "type": "uint256", + "name": "_ril", + "internalType": "Range" + }, + { + "type": "uint256", + "name": "_x", + "internalType": "Fee" + }, + { + "type": "uint256", + "name": "_rip", + "internalType": "Fee" + }, + { + "type": "uint256", + "name": "_dur", + "internalType": "uint256" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "authorizedAmountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "DailyAuthorizedInflationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "uint256", + "name": "rangeIncrease", + "internalType": "Range", + "indexed": false + }, + { + "type": "uint256", + "name": "sampleSizeIncrease", + "internalType": "SampleSize", + "indexed": false + }, + { + "type": "uint256", + "name": "offerAmount", + "internalType": "Fee", + "indexed": false + } + ], + "name": "IncentiveOffered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountReceivedWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "InflationReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "tuple[]", + "name": "feedConfigurations", + "internalType": "struct IFastUpdatesConfiguration.FeedConfiguration[]", + "indexed": false + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + } + ], + "name": "InflationRewardsOffered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "advance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "dailyAuthorizedInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdatesConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getBaseScale" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentSampleSizeIncreasePrice" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getExpectedBalance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getExpectedSampleSize" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getIncentiveDuration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getInflationAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getPrecision" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRange" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getScale" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTokenPoolSupplyData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastInflationAuthorizationReceivedTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastInflationReceivedTs" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "tuple", + "name": "_offer", + "internalType": "struct IFastUpdateIncentiveManager.IncentiveOffer" + } + ], + "name": "offerIncentive" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rangeIncreaseLimit" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rangeIncreasePrice" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [], + "name": "receiveInflation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "sampleIncreaseLimit" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_toAuthorizeWei", + "internalType": "uint256" + } + ], + "name": "setDailyAuthorizedInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_ss", + "internalType": "SampleSize" + }, + { + "type": "uint256", + "name": "_r", + "internalType": "Range" + }, + { + "type": "uint256", + "name": "_x", + "internalType": "Fee" + }, + { + "type": "uint256", + "name": "_dur", + "internalType": "uint256" + } + ], + "name": "setIncentiveParameters" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_lim", + "internalType": "Range" + } + ], + "name": "setRangeIncreaseLimit" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_price", + "internalType": "Fee" + } + ], + "name": "setRangeIncreasePrice" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_lim", + "internalType": "SampleSize" + } + ], + "name": "setSampleIncreaseLimit" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationAuthorizedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationReceivedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationRewardsOfferedWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_currentRewardEpochId", + "internalType": "uint24" + }, + { + "type": "uint64", + "name": "_currentRewardEpochExpectedEndTs", + "internalType": "uint64" + }, + { + "type": "uint64", + "name": "_rewardEpochDurationSeconds", + "internalType": "uint64" + } + ], + "name": "triggerRewardEpochSwitchover" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x5aB9cB258a342001C4663D9526A1c54cCcF8C545.json b/songbird/0x5aB9cB258a342001C4663D9526A1c54cCcF8C545.json new file mode 100644 index 0000000000..7596f2444f --- /dev/null +++ b/songbird/0x5aB9cB258a342001C4663D9526A1c54cCcF8C545.json @@ -0,0 +1,562 @@ +{ + "name": "FtsoRewardOffersManager", + "chainId": 19, + "address": "0x5aB9cB258a342001C4663D9526A1c54cCcF8C545", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint128", + "name": "_minimalRewardsOfferValueWei", + "internalType": "uint128" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "authorizedAmountWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "DailyAuthorizedInflationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountReceivedWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "InflationReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "bytes", + "name": "feedIds", + "internalType": "bytes", + "indexed": false + }, + { + "type": "bytes", + "name": "decimals", + "internalType": "bytes", + "indexed": false + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint16", + "name": "minRewardedTurnoutBIPS", + "internalType": "uint16", + "indexed": false + }, + { + "type": "uint24", + "name": "primaryBandRewardSharePPM", + "internalType": "uint24", + "indexed": false + }, + { + "type": "bytes", + "name": "secondaryBandWidthPPMs", + "internalType": "bytes", + "indexed": false + }, + { + "type": "uint16", + "name": "mode", + "internalType": "uint16", + "indexed": false + } + ], + "name": "InflationRewardsOffered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "valueWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MinimalRewardsOfferValueSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "bytes21", + "name": "feedId", + "internalType": "bytes21", + "indexed": false + }, + { + "type": "int8", + "name": "decimals", + "internalType": "int8", + "indexed": false + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint16", + "name": "minRewardedTurnoutBIPS", + "internalType": "uint16", + "indexed": false + }, + { + "type": "uint24", + "name": "primaryBandRewardSharePPM", + "internalType": "uint24", + "indexed": false + }, + { + "type": "uint24", + "name": "secondaryBandWidthPPM", + "internalType": "uint24", + "indexed": false + }, + { + "type": "address", + "name": "claimBackAddress", + "internalType": "address", + "indexed": false + } + ], + "name": "RewardsOffered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "dailyAuthorizedInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoFeedDecimals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoInflationConfigurations" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getExpectedBalance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getInflationAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTokenPoolSupplyData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastInflationAuthorizationReceivedTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastInflationReceivedTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "minimalRewardsOfferValueWei" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint24", + "name": "_nextRewardEpochId", + "internalType": "uint24" + }, + { + "type": "tuple[]", + "name": "_offers", + "internalType": "struct IFtsoRewardOffersManager.Offer[]" + } + ], + "name": "offerRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [], + "name": "receiveInflation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_toAuthorizeWei", + "internalType": "uint256" + } + ], + "name": "setDailyAuthorizedInflation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint128", + "name": "_minimalRewardsOfferValueWei", + "internalType": "uint128" + } + ], + "name": "setMinimalRewardsOfferValue" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationAuthorizedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationReceivedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationRewardsOfferedWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint24", + "name": "_currentRewardEpochId", + "internalType": "uint24" + }, + { + "type": "uint64", + "name": "_currentRewardEpochExpectedEndTs", + "internalType": "uint64" + }, + { + "type": "uint64", + "name": "_rewardEpochDurationSeconds", + "internalType": "uint64" + } + ], + "name": "triggerRewardEpochSwitchover" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x67a916E175a2aF01369294739AA60dDdE1Fad189.json b/songbird/0x67a916E175a2aF01369294739AA60dDdE1Fad189.json new file mode 100644 index 0000000000..155de17910 --- /dev/null +++ b/songbird/0x67a916E175a2aF01369294739AA60dDdE1Fad189.json @@ -0,0 +1,345 @@ +{ + "name": "RandomNumberV2", + "chainId": 19, + "address": "0x67a916E175a2aF01369294739AA60dDdE1Fad189", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple", + "name": "_initialConfig", + "internalType": "struct IRelay.RelayInitialConfig" + }, + { + "type": "address", + "name": "_signingPolicySetter", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint8", + "name": "protocolId", + "internalType": "uint8", + "indexed": true + }, + { + "type": "uint32", + "name": "votingRoundId", + "internalType": "uint32", + "indexed": true + }, + { + "type": "bool", + "name": "isSecureRandom", + "internalType": "bool", + "indexed": false + }, + { + "type": "bytes32", + "name": "merkleRoot", + "internalType": "bytes32", + "indexed": false + } + ], + "name": "ProtocolMessageRelayed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": true + }, + { + "type": "uint32", + "name": "startVotingRoundId", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint16", + "name": "threshold", + "internalType": "uint16", + "indexed": false + }, + { + "type": "uint256", + "name": "seed", + "internalType": "uint256", + "indexed": false + }, + { + "type": "address[]", + "name": "voters", + "internalType": "address[]", + "indexed": false + }, + { + "type": "uint16[]", + "name": "weights", + "internalType": "uint16[]", + "indexed": false + }, + { + "type": "bytes", + "name": "signingPolicyBytes", + "internalType": "bytes", + "indexed": false + }, + { + "type": "uint64", + "name": "timestamp", + "internalType": "uint64", + "indexed": false + } + ], + "name": "SigningPolicyInitialized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "SigningPolicyRelayed", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feeCollectionAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRandomNumber" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_votingRoundId", + "internalType": "uint256" + } + ], + "name": "getRandomNumberHistorical" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_timestamp", + "internalType": "uint256" + } + ], + "name": "getVotingRoundId" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes", + "name": "_relayMessage", + "internalType": "bytes" + }, + { + "type": "tuple", + "name": "_config", + "internalType": "struct IRelay.RelayGovernanceConfig" + } + ], + "name": "governanceFeeSetup" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_protocolId", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_votingRoundId", + "internalType": "uint256" + } + ], + "name": "isFinalized" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastInitializedRewardEpochData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_protocolId", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_votingRoundId", + "internalType": "uint256" + } + ], + "name": "merkleRoots" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "protocolFeeInWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "relay" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple", + "name": "_signingPolicy", + "internalType": "struct IIRelay.SigningPolicy" + } + ], + "name": "setSigningPolicy" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "signingPolicySetter" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + } + ], + "name": "startingVotingRoundIds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "stateData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "toSigningPolicyHash" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256", + "name": "_protocolId", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_votingRoundId", + "internalType": "uint256" + }, + { + "type": "bytes32", + "name": "_leaf", + "internalType": "bytes32" + }, + { + "type": "bytes32[]", + "name": "_proof", + "internalType": "bytes32[]" + } + ], + "name": "verify" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes", + "name": "_relayMessage", + "internalType": "bytes" + }, + { + "type": "bytes32", + "name": "_messageHash", + "internalType": "bytes32" + } + ], + "name": "verifyCustomSignature" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x681C1Bc09b64e8e0EEa9d40E480B08Ab6c3FeCE3.json b/songbird/0x681C1Bc09b64e8e0EEa9d40E480B08Ab6c3FeCE3.json new file mode 100644 index 0000000000..87de79ab97 --- /dev/null +++ b/songbird/0x681C1Bc09b64e8e0EEa9d40E480B08Ab6c3FeCE3.json @@ -0,0 +1,399 @@ +{ + "name": "FtsoFeedDecimals", + "chainId": 19, + "address": "0x681C1Bc09b64e8e0EEa9d40E480B08Ab6c3FeCE3", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint24", + "name": "_decimalsUpdateOffset", + "internalType": "uint24" + }, + { + "type": "int8", + "name": "_defaultDecimals", + "internalType": "int8" + }, + { + "type": "uint24", + "name": "_initialRewardEpochId", + "internalType": "uint24" + }, + { + "type": "tuple[]", + "name": "_initialFeedDecimals", + "internalType": "struct FtsoFeedDecimals.InitialFeedDecimals[]" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes21", + "name": "feedId", + "internalType": "bytes21", + "indexed": true + }, + { + "type": "int8", + "name": "decimals", + "internalType": "int8", + "indexed": false + }, + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": false + } + ], + "name": "DecimalsChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "decimalsUpdateOffset" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "defaultDecimals" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getCurrentDecimals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes", + "name": "_feedIds", + "internalType": "bytes" + } + ], + "name": "getCurrentDecimalsBulk" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + }, + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getDecimals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes", + "name": "_feedIds", + "internalType": "bytes" + }, + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getDecimalsBulk" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getScheduledDecimalsChanges" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes21[]", + "name": "_feedIds", + "internalType": "bytes21[]" + }, + { + "type": "int8[]", + "name": "_decimals", + "internalType": "int8[]" + } + ], + "name": "setDecimals" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x6Ce15a3aDd04d1A4C575B6be19674D6bb11Ba614.json b/songbird/0x6Ce15a3aDd04d1A4C575B6be19674D6bb11Ba614.json new file mode 100644 index 0000000000..94c58233be --- /dev/null +++ b/songbird/0x6Ce15a3aDd04d1A4C575B6be19674D6bb11Ba614.json @@ -0,0 +1,522 @@ +{ + "name": "VoterWhitelister", + "chainId": 19, + "address": "0x6Ce15a3aDd04d1A4C575B6be19674D6bb11Ba614", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address", + "name": "_priceSubmitter", + "internalType": "contract IIPriceSubmitter" + }, + { + "type": "uint256", + "name": "_defaultMaxVotersForFtso", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_oldVoterWhitelister", + "internalType": "contract IVoterWhitelister" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "untilRewardEpoch", + "internalType": "uint256", + "indexed": false + } + ], + "name": "VoterChilled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "ftsoIndex", + "internalType": "uint256", + "indexed": false + } + ], + "name": "VoterRemovedFromWhitelist", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "ftsoIndex", + "internalType": "uint256", + "indexed": false + } + ], + "name": "VoterWhitelisted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "addFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_noOfRewardEpochs", + "internalType": "uint256" + }, + { + "type": "uint256[]", + "name": "_ftsoIndices", + "internalType": "uint256[]" + } + ], + "name": "chillVoter" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "chilledUntilRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "copyMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "copyWhitelist" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "defaultMaxVotersForFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "getFtsoWhitelistedPriceProviders" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string", + "name": "_symbol", + "internalType": "string" + } + ], + "name": "getFtsoWhitelistedPriceProvidersBySymbol" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "maxVotersForFtso" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "oldVoterWhitelister" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "priceSubmitter" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "removeFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_trustedAddress", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "removeTrustedAddressFromWhitelist" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "requestFullVoterWhitelisting" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + } + ], + "name": "requestWhitelistingVoter" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_defaultMaxVotersForFtso", + "internalType": "uint256" + } + ], + "name": "setDefaultMaxVotersForFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_ftsoIndex", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_newMaxVoters", + "internalType": "uint256" + } + ], + "name": "setMaxVotersForFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "turnOffCopyMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x7174961ffCe87744d2f1a25B6d75Cf780Ec6Fd65.json b/songbird/0x7174961ffCe87744d2f1a25B6d75Cf780Ec6Fd65.json new file mode 100644 index 0000000000..b49a8543fa --- /dev/null +++ b/songbird/0x7174961ffCe87744d2f1a25B6d75Cf780Ec6Fd65.json @@ -0,0 +1,563 @@ +{ + "name": "Inflation", + "chainId": 19, + "address": "0x7174961ffCe87744d2f1a25B6d75Cf780Ec6Fd65", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_flareDaemon", + "internalType": "contract FlareDaemon" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpochStartTs", + "internalType": "uint256" + } + ] + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "daemonize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareDaemon" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentTimeSlot" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentTimeSlotId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getNextExpectedTopupTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardServices" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "getTimeSlot" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_inflationReceiver", + "internalType": "contract IIInflationReceiver" + } + ], + "name": "getTopupConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTotals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "inflationAllocation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastAuthorizationTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "preInflationCalculation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [], + "name": "receiveMinting" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardEpochStartTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardEpochStartedTs" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_oldInflation", + "internalType": "contract IIInflationV1" + }, + { + "type": "uint256", + "name": "_noOfAnnums", + "internalType": "uint256" + } + ], + "name": "setInitialData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_preInflationCalculation", + "internalType": "contract IIPreInflationCalculation" + } + ], + "name": "setPreInflationCalculation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_inflationReceiver", + "internalType": "contract IIInflationReceiver" + }, + { + "type": "uint8", + "name": "_topupType", + "internalType": "enum TopupType" + }, + { + "type": "uint256", + "name": "_topupFactorX100", + "internalType": "uint256" + } + ], + "name": "setTopupConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "supply" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "switchToFallbackMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "inflationAllocation", + "indexed": false + } + ], + "name": "InflationAllocationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "indexed": false + } + ], + "name": "InflationAuthorized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "inflationReceiver", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "indexed": false + } + ], + "name": "InflationRewardServiceDailyAuthorizedInflationComputed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "inflationReceiver", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "indexed": false + } + ], + "name": "InflationRewardServiceTopupComputed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "inflationReceiver", + "indexed": false + }, + { + "type": "uint256", + "name": "amountWei", + "indexed": false + } + ], + "name": "InflationRewardServiceTopupRequestReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "amountWei", + "indexed": false + }, + { + "type": "uint256", + "name": "selfDestructAmountWei", + "indexed": false + } + ], + "name": "MintingReceived", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "startTimeStamp", + "indexed": false + }, + { + "type": "uint256", + "name": "endTimeStamp", + "indexed": false + }, + { + "type": "uint256", + "name": "inflatableSupplyWei", + "indexed": false + }, + { + "type": "uint256", + "name": "recognizedInflationWei", + "indexed": false + } + ], + "name": "NewTimeSlotInitialized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "oldSupply", + "indexed": false + }, + { + "type": "address", + "name": "newSupply", + "indexed": false + } + ], + "name": "SupplySet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "tuple", + "name": "topupConfiguration", + "indexed": false + } + ], + "name": "TopupConfigurationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "requestAmountWei", + "indexed": false + }, + { + "type": "uint256", + "name": "reRequestAmountWei", + "indexed": false + } + ], + "name": "TopupRequested", + "anonymous": false + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x725cd5E69388515029BCBF9F8aE2cc47f397CD64.json b/songbird/0x725cd5E69388515029BCBF9F8aE2cc47f397CD64.json new file mode 100644 index 0000000000..3756c291b6 --- /dev/null +++ b/songbird/0x725cd5E69388515029BCBF9F8aE2cc47f397CD64.json @@ -0,0 +1,756 @@ +{ + "name": "PollingFoundation", + "chainId": 19, + "address": "0x725cd5E69388515029BCBF9F8aE2cc47f397CD64", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address[]", + "name": "_proposers", + "internalType": "address[]" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "ProposalCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "address", + "name": "proposer", + "internalType": "address", + "indexed": false + }, + { + "type": "address[]", + "name": "targets", + "internalType": "address[]", + "indexed": false + }, + { + "type": "uint256[]", + "name": "values", + "internalType": "uint256[]", + "indexed": false + }, + { + "type": "bytes[]", + "name": "calldatas", + "internalType": "bytes[]", + "indexed": false + }, + { + "type": "string", + "name": "description", + "internalType": "string", + "indexed": false + }, + { + "type": "bool", + "name": "accept", + "internalType": "bool", + "indexed": false + }, + { + "type": "uint256[2]", + "name": "voteTimes", + "internalType": "uint256[2]", + "indexed": false + }, + { + "type": "uint256[2]", + "name": "executionTimes", + "internalType": "uint256[2]", + "indexed": false + }, + { + "type": "uint256", + "name": "votePowerBlock", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "thresholdConditionBIPS", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "majorityConditionBIPS", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "circulatingSupply", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ProposalCreated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "ProposalExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address[]", + "name": "addedProposers", + "internalType": "address[]", + "indexed": false + }, + { + "type": "address[]", + "name": "removedProposers", + "internalType": "address[]", + "indexed": false + } + ], + "name": "ProposersChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "uint8", + "name": "support", + "internalType": "uint8", + "indexed": false + }, + { + "type": "uint256", + "name": "votePower", + "internalType": "uint256", + "indexed": false + }, + { + "type": "string", + "name": "reason", + "internalType": "string", + "indexed": false + }, + { + "type": "uint256", + "name": "forVotePower", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "againstVotePower", + "internalType": "uint256", + "indexed": false + } + ], + "name": "VoteCast", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "BALLOT_TYPEHASH" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "cancel" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + }, + { + "type": "uint8", + "name": "_support", + "internalType": "uint8" + } + ], + "name": "castVote" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + }, + { + "type": "uint8", + "name": "_support", + "internalType": "uint8" + }, + { + "type": "uint8", + "name": "_v", + "internalType": "uint8" + }, + { + "type": "bytes32", + "name": "_r", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "_s", + "internalType": "bytes32" + } + ], + "name": "castVoteBySig" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + }, + { + "type": "uint8", + "name": "_support", + "internalType": "uint8" + }, + { + "type": "string", + "name": "_reason", + "internalType": "string" + } + ], + "name": "castVoteWithReason" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "chainId" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_proposersToAdd", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_proposersToRemove", + "internalType": "address[]" + } + ], + "name": "changeProposers" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "string", + "name": "_description", + "internalType": "string" + } + ], + "name": "execute" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "address[]", + "name": "_targets", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_values", + "internalType": "uint256[]" + }, + { + "type": "bytes[]", + "name": "_calldatas", + "internalType": "bytes[]" + }, + { + "type": "string", + "name": "_description", + "internalType": "string" + } + ], + "name": "execute" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address[]", + "name": "_targets", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_values", + "internalType": "uint256[]" + }, + { + "type": "bytes[]", + "name": "_calldatas", + "internalType": "bytes[]" + }, + { + "type": "string", + "name": "_description", + "internalType": "string" + } + ], + "name": "getProposalId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "getProposalInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "getProposalVotes" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getVotes" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "hasVoted" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_account", + "internalType": "address" + } + ], + "name": "isProposer" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "name" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_targets", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_values", + "internalType": "uint256[]" + }, + { + "type": "bytes[]", + "name": "_calldatas", + "internalType": "bytes[]" + }, + { + "type": "string", + "name": "_description", + "internalType": "string" + }, + { + "type": "tuple", + "name": "_settings", + "internalType": "struct IGovernor.GovernorSettings" + } + ], + "name": "propose" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "string", + "name": "_description", + "internalType": "string" + }, + { + "type": "tuple", + "name": "_settings", + "internalType": "struct IIPollingFoundation.GovernorSettingsWithoutExecParams" + } + ], + "name": "propose" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "state" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "supply" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "version" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "votePower" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x790525B93Fa4BFd3A586b68C5F41c113645f8AF6.json b/songbird/0x790525B93Fa4BFd3A586b68C5F41c113645f8AF6.json new file mode 100644 index 0000000000..6c150e6a1e --- /dev/null +++ b/songbird/0x790525B93Fa4BFd3A586b68C5F41c113645f8AF6.json @@ -0,0 +1,893 @@ +{ + "name": "PollingFtso", + "chainId": 19, + "address": "0x790525B93Fa4BFd3A586b68C5F41c113645f8AF6", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "address", + "name": "proposer", + "internalType": "address", + "indexed": false + }, + { + "type": "string", + "name": "description", + "internalType": "string", + "indexed": false + }, + { + "type": "uint256", + "name": "voteStartTime", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "voteEndTime", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "thresholdConditionBIPS", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "majorityConditionBIPS", + "internalType": "uint256", + "indexed": false + }, + { + "type": "address[]", + "name": "eligibleMembers", + "internalType": "address[]", + "indexed": false + } + ], + "name": "FtsoProposalCreated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "newMaintainer", + "internalType": "address", + "indexed": false + } + ], + "name": "MaintainerSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "addedMember", + "internalType": "address", + "indexed": false + } + ], + "name": "ManagementGroupMemberAdded", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "removedMember", + "internalType": "address", + "indexed": false + } + ], + "name": "ManagementGroupMemberRemoved", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "votingDelaySeconds", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "votingPeriodSeconds", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "thresholdConditionBIPS", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "majorityConditionBIPS", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "proposalFeeValueWei", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "addAfterRewardedEpochs", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "addAfterNotChilledEpochs", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "removeAfterNotRewardedEpochs", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "removeAfterEligibleProposals", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "removeAfterNonParticipatingProposals", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "removeForDays", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ParametersSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "ProposalCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "account", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "proxyVoter", + "internalType": "address", + "indexed": false + } + ], + "name": "ProxyVoterSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "voter", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "proposalId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "uint8", + "name": "support", + "internalType": "uint8", + "indexed": false + }, + { + "type": "uint256", + "name": "forVotePower", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "againstVotePower", + "internalType": "uint256", + "indexed": false + } + ], + "name": "VoteCast", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "addAfterNotChilledEpochs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "addAfterRewardedEpochs" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "addMember" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_account", + "internalType": "address" + } + ], + "name": "canPropose" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_account", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "canVote" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "cancel" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + }, + { + "type": "uint8", + "name": "_support", + "internalType": "uint8" + } + ], + "name": "castVote" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_providersToAdd", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_providersToRemove", + "internalType": "address[]" + } + ], + "name": "changeManagementGroupMembers" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoRewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getLastProposal" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getManagementGroupMembers" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "getProposalDescription" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "getProposalInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "getProposalVotes" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + }, + { + "type": "address", + "name": "_voter", + "internalType": "address" + } + ], + "name": "hasVoted" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "idCounter" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_account", + "internalType": "address" + } + ], + "name": "isMember" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maintainer" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "majorityConditionBIPS" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "memberAddedAtProposal" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "memberAddedAtRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "memberRemovedAtTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "proposalFeeValueWei" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "string", + "name": "_description", + "internalType": "string" + } + ], + "name": "propose" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "providerToProxy" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "", + "internalType": "address" + } + ], + "name": "proxyToProvider" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "removeAfterEligibleProposals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "removeAfterNonParticipatingProposals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "removeAfterNotRewardedEpochs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "removeForDays" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_account", + "internalType": "address" + } + ], + "name": "removeMember" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newMaintainer", + "internalType": "address" + } + ], + "name": "setMaintainer" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_votingDelaySeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_votingPeriodSeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_thresholdConditionBIPS", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_majorityConditionBIPS", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_proposalFeeValueWei", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_addAfterRewardedEpochs", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_addAfterNotChilledEpochs", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_removeAfterNotRewardedEpochs", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_removeAfterEligibleProposals", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_removeAfterNonParticipatingProposals", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_removeForDays", + "internalType": "uint256" + } + ], + "name": "setParameters" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_proxyVoter", + "internalType": "address" + } + ], + "name": "setProxyVoter" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_proposalId", + "internalType": "uint256" + } + ], + "name": "state" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "thresholdConditionBIPS" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterWhitelister" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "votingDelaySeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "votingPeriodSeconds" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x7A6B15E17b7691ba687ad182bD12cb4a91D533ae.json b/songbird/0x7A6B15E17b7691ba687ad182bD12cb4a91D533ae.json new file mode 100644 index 0000000000..2e26ee4949 --- /dev/null +++ b/songbird/0x7A6B15E17b7691ba687ad182bD12cb4a91D533ae.json @@ -0,0 +1,1148 @@ +{ + "name": "FtsoManager", + "chainId": 19, + "address": "0x7A6B15E17b7691ba687ad182bD12cb4a91D533ae", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_flareDaemon", + "internalType": "contract FlareDaemon" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address", + "name": "_oldFtsoManager", + "internalType": "contract IIFtsoManagerV1" + }, + { + "type": "uint256", + "name": "_firstPriceEpochStartTs", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_priceEpochDurationSeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_revealEpochDurationSeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_firstRewardEpochStartTs", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_rewardEpochDurationSeconds", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_votePowerIntervalFraction", + "internalType": "uint256" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "AccruingUnearnedRewardsFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [], + "name": "ChillingNonrevealingDataProvidersFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "blockNumber", + "internalType": "uint256", + "indexed": false + } + ], + "name": "CleanupBlockNumberManagerFailedForBlock", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpoch", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ClosingExpiredRewardEpochFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "atBlock", + "internalType": "uint256", + "indexed": false + }, + { + "type": "string", + "name": "theMessage", + "internalType": "string", + "indexed": false + } + ], + "name": "ContractRevertError", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "DistributingRewardsFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bool", + "name": "fallbackMode", + "internalType": "bool", + "indexed": false + } + ], + "name": "FallbackMode", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "contract IIFtso", + "indexed": false + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint8", + "name": "failingType", + "internalType": "enum IFtso.PriceFinalizationType", + "indexed": false + } + ], + "name": "FinalizingPriceEpochFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "contract IIFtso", + "indexed": false + }, + { + "type": "bool", + "name": "add", + "internalType": "bool", + "indexed": false + } + ], + "name": "FtsoAdded", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "contract IIFtso", + "indexed": false + } + ], + "name": "FtsoDeactivationFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "contract IIFtso", + "indexed": false + }, + { + "type": "bool", + "name": "fallbackMode", + "internalType": "bool", + "indexed": false + } + ], + "name": "FtsoFallbackMode", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "ftso", + "internalType": "contract IIFtso", + "indexed": false + }, + { + "type": "uint256", + "name": "epochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "InitializingCurrentEpochStateForRevealFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "chosenFtso", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": false + } + ], + "name": "PriceEpochFinalized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "votepowerBlock", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "startBlock", + "internalType": "uint256", + "indexed": false + } + ], + "name": "RewardEpochFinalized", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpoch", + "internalType": "uint256", + "indexed": false + } + ], + "name": "UpdatingActiveValidatorsTriggerFailed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bool", + "name": "useGoodRandom", + "internalType": "bool", + "indexed": false + }, + { + "type": "uint256", + "name": "maxWaitForGoodRandomSeconds", + "internalType": "uint256", + "indexed": false + } + ], + "name": "UseGoodRandomSet", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "MAX_TRUSTED_ADDRESSES_LENGTH" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "activate" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "active" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + } + ], + "name": "addFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_ftsos", + "internalType": "contract IIFtso[]" + } + ], + "name": "addFtsosBulk" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cleanupBlockNumberManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "currentRewardEpochEnds" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "daemonize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_ftsos", + "internalType": "contract IIFtso[]" + } + ], + "name": "deactivateFtsos" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "errorData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareDaemon" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentPriceEpochData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentPriceEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRewardEpoch" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + } + ], + "name": "getElasticBandWidthPPMFtso" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFallbackMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFtsos" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getGovernanceParameters" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getLastUnprocessedPriceEpochData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getPriceEpochConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getPriceSubmitter" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardEpochConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "getRewardEpochData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardEpochToExpireNext" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "getRewardEpochVotePowerBlock" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardExpiryOffsetSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getUpdateGovernanceParametersTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getVotePowerIntervalFraction" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "lastRewardedFtsoAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maxWaitForGoodRandomSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + } + ], + "name": "notInitializedFtsos" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "oldFtsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "priceSubmitter" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + } + ], + "name": "removeFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftsoToAdd", + "internalType": "contract IIFtso" + }, + { + "type": "bool", + "name": "_copyCurrentPrice", + "internalType": "bool" + }, + { + "type": "bool", + "name": "_copyAssetOrAssetFtsos", + "internalType": "bool" + } + ], + "name": "replaceFtso" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_ftsosToAdd", + "internalType": "contract IIFtso[]" + }, + { + "type": "bool", + "name": "_copyCurrentPrice", + "internalType": "bool" + }, + { + "type": "bool", + "name": "_copyAssetOrAssetFtsos", + "internalType": "bool" + } + ], + "name": "replaceFtsosBulk" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardEpochDurationSeconds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "rewardEpochs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardEpochsStartTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_updateTs", + "internalType": "uint256" + }, + { + "type": "address[]", + "name": "_ftsos", + "internalType": "contract IIFtso[]" + }, + { + "type": "uint256[]", + "name": "_widths", + "internalType": "uint256[]" + } + ], + "name": "setElasticBandWidthPPMFtsos" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_fallbackMode", + "internalType": "bool" + } + ], + "name": "setFallbackMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + }, + { + "type": "address", + "name": "_asset", + "internalType": "contract IIVPToken" + } + ], + "name": "setFtsoAsset" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + }, + { + "type": "address[]", + "name": "_assetFtsos", + "internalType": "contract IIFtso[]" + } + ], + "name": "setFtsoAssetFtsos" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ftso", + "internalType": "contract IIFtso" + }, + { + "type": "bool", + "name": "_fallbackMode", + "internalType": "bool" + } + ], + "name": "setFtsoFallbackMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_updateTs", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_maxVotePowerNatThresholdFraction", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_maxVotePowerAssetThresholdFraction", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_lowAssetUSDThreshold", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_highAssetUSDThreshold", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_highAssetTurnoutThresholdBIPS", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_lowNatTurnoutThresholdBIPS", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_elasticBandRewardBIPS", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_rewardExpiryOffsetSeconds", + "internalType": "uint256" + }, + { + "type": "address[]", + "name": "_trustedAddresses", + "internalType": "address[]" + } + ], + "name": "setGovernanceParameters" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_nextRewardEpochToExpire", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_rewardEpochsLength", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_currentRewardEpochEnds", + "internalType": "uint256" + } + ], + "name": "setInitialRewardData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochDurationSeconds", + "internalType": "uint256" + } + ], + "name": "setRewardEpochDurationSeconds" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_updateValidators", + "internalType": "contract IUpdateValidators" + } + ], + "name": "setUpdateOnRewardEpochSwitchover" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bool", + "name": "_useGoodRandom", + "internalType": "bool" + }, + { + "type": "uint256", + "name": "_maxWaitForGoodRandomSeconds", + "internalType": "uint256" + } + ], + "name": "setUseGoodRandom" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_votePowerIntervalFraction", + "internalType": "uint256" + } + ], + "name": "setVotePowerIntervalFraction" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "showLastRevertedError" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "startIndex", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "numErrorTypesToShow", + "internalType": "uint256" + } + ], + "name": "showRevertedErrors" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "supply" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToFallbackMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "updateOnRewardEpochSwitchover" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "useGoodRandom" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterWhitelister" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "waitingForGoodRandomSinceTs" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x7D9F73FD9bC4607daCB618FF895585f98BFDD06B.json b/songbird/0x7D9F73FD9bC4607daCB618FF895585f98BFDD06B.json new file mode 100644 index 0000000000..e9f99b5028 --- /dev/null +++ b/songbird/0x7D9F73FD9bC4607daCB618FF895585f98BFDD06B.json @@ -0,0 +1,669 @@ +{ + "name": "FastUpdater", + "chainId": 19, + "address": "0x7D9F73FD9bC4607daCB618FF895585f98BFDD06B", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address", + "name": "_flareDaemon", + "internalType": "address" + }, + { + "type": "uint32", + "name": "_firstVotingRoundStartTs", + "internalType": "uint32" + }, + { + "type": "uint8", + "name": "_votingEpochDurationSeconds", + "internalType": "uint8" + }, + { + "type": "uint8", + "name": "_submissionWindow", + "internalType": "uint8" + } + ] + }, + { + "type": "error", + "inputs": [], + "name": "ECDSAInvalidSignature" + }, + { + "type": "error", + "inputs": [ + { + "type": "uint256", + "name": "length", + "internalType": "uint256" + } + ], + "name": "ECDSAInvalidSignatureLength" + }, + { + "type": "error", + "inputs": [ + { + "type": "bytes32", + "name": "s", + "internalType": "bytes32" + } + ], + "name": "ECDSAInvalidSignatureS" + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "index", + "internalType": "uint256", + "indexed": true + } + ], + "name": "FastUpdateFeedRemoved", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "votingRoundId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "uint256", + "name": "index", + "internalType": "uint256", + "indexed": true + }, + { + "type": "bytes21", + "name": "id", + "internalType": "bytes21", + "indexed": true + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256", + "indexed": false + }, + { + "type": "int8", + "name": "decimals", + "internalType": "int8", + "indexed": false + } + ], + "name": "FastUpdateFeedReset", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "votingEpochId", + "internalType": "uint256", + "indexed": true + }, + { + "type": "uint256[]", + "name": "feeds", + "internalType": "uint256[]", + "indexed": false + }, + { + "type": "int8[]", + "name": "decimals", + "internalType": "int8[]", + "indexed": false + } + ], + "name": "FastUpdateFeeds", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint32", + "name": "votingRoundId", + "internalType": "uint32", + "indexed": true + }, + { + "type": "address", + "name": "signingPolicyAddress", + "internalType": "address", + "indexed": true + } + ], + "name": "FastUpdateFeedsSubmitted", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "MAX_BLOCKS_HISTORY" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "MAX_FEED_AGE_IN_VOTING_EPOCHS" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_blockNum", + "internalType": "uint256" + } + ], + "name": "blockScoreCutoff" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "currentRewardEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "currentScoreCutoff" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_signingPolicyAddress", + "internalType": "address" + } + ], + "name": "currentSortitionWeight" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "daemonize" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdateIncentiveManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdatesConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feeCalculator" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feeDestination" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [], + "name": "fetchAllCurrentFeeds" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256[]", + "name": "_indices", + "internalType": "uint256[]" + } + ], + "name": "fetchCurrentFeeds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "firstVotingRoundStartTs" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareDaemon" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoFeedPublisher" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "getContractName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFreeFetchAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_historySize", + "internalType": "uint256" + } + ], + "name": "numberOfUpdates" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "numberOfUpdatesInBlock" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256[]", + "name": "_indices", + "internalType": "uint256[]" + } + ], + "name": "removeFeeds" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256[]", + "name": "_indices", + "internalType": "uint256[]" + } + ], + "name": "resetFeeds" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_feeDestination", + "internalType": "address" + } + ], + "name": "setFeeDestination" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_freeFetchAddresses", + "internalType": "address[]" + } + ], + "name": "setFreeFetchAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint8", + "name": "_submissionWindow", + "internalType": "uint8" + } + ], + "name": "setSubmissionWindow" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "submissionWindow" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple", + "name": "_updates", + "internalType": "struct IFastUpdater.FastUpdates" + } + ], + "name": "submitUpdates" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "switchToFallbackMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_voter", + "internalType": "address" + }, + { + "type": "bytes32", + "name": "_part1", + "internalType": "bytes32" + }, + { + "type": "bytes32", + "name": "_part2", + "internalType": "bytes32" + }, + { + "type": "bytes", + "name": "_verificationData", + "internalType": "bytes" + } + ], + "name": "verifyPublicKey" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "voterRegistry" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "votingEpochDurationSeconds" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x884E1818eA005171CDe0dB5b83E9734454e0Ed6D.json b/songbird/0x884E1818eA005171CDe0dB5b83E9734454e0Ed6D.json new file mode 100644 index 0000000000..f8eab5ff58 --- /dev/null +++ b/songbird/0x884E1818eA005171CDe0dB5b83E9734454e0Ed6D.json @@ -0,0 +1,316 @@ +{ + "name": "AddressUpdater", + "chainId": 19, + "address": "0x884E1818eA005171CDe0dB5b83E9734454e0Ed6D", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "string[]", + "name": "_contractNames", + "internalType": "string[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "addOrUpdateContractNamesAndAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string", + "name": "_name", + "internalType": "string" + } + ], + "name": "getContractAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "_nameHash", + "internalType": "bytes32" + } + ], + "name": "getContractAddressByHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string[]", + "name": "_names", + "internalType": "string[]" + } + ], + "name": "getContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32[]", + "name": "_nameHashes", + "internalType": "bytes32[]" + } + ], + "name": "getContractAddressesByHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getContractNamesAndAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "string[]", + "name": "_contractNames", + "internalType": "string[]" + } + ], + "name": "removeContracts" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "string[]", + "name": "_contractNames", + "internalType": "string[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_contractsToUpdate", + "internalType": "contract IIAddressUpdatable[]" + } + ], + "name": "update" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_contractsToUpdate", + "internalType": "contract IIAddressUpdatable[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x8D48a67e11CdB821C38c85FB92bcB3A1865aCEdF.json b/songbird/0x8D48a67e11CdB821C38c85FB92bcB3A1865aCEdF.json new file mode 100644 index 0000000000..44aeb2c5c4 --- /dev/null +++ b/songbird/0x8D48a67e11CdB821C38c85FB92bcB3A1865aCEdF.json @@ -0,0 +1,420 @@ +{ + "name": "FastUpdatesConfiguration", + "chainId": 19, + "address": "0x8D48a67e11CdB821C38c85FB92bcB3A1865aCEdF", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes21", + "name": "feedId", + "internalType": "bytes21", + "indexed": true + }, + { + "type": "uint32", + "name": "rewardBandValue", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint24", + "name": "inflationShare", + "internalType": "uint24", + "indexed": false + }, + { + "type": "uint256", + "name": "index", + "internalType": "uint256", + "indexed": false + } + ], + "name": "FeedAdded", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes21", + "name": "feedId", + "internalType": "bytes21", + "indexed": true + }, + { + "type": "uint256", + "name": "index", + "internalType": "uint256", + "indexed": false + } + ], + "name": "FeedRemoved", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes21", + "name": "feedId", + "internalType": "bytes21", + "indexed": true + }, + { + "type": "uint32", + "name": "rewardBandValue", + "internalType": "uint32", + "indexed": false + }, + { + "type": "uint24", + "name": "inflationShare", + "internalType": "uint24", + "indexed": false + }, + { + "type": "uint256", + "name": "index", + "internalType": "uint256", + "indexed": false + } + ], + "name": "FeedUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_feedConfigs", + "internalType": "struct IFastUpdatesConfiguration.FeedConfiguration[]" + } + ], + "name": "addFeeds" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFeedConfigurations" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "getFeedId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFeedIds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getFeedIndex" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getNumberOfFeeds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getUnusedIndices" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes21[]", + "name": "_feedIds", + "internalType": "bytes21[]" + } + ], + "name": "removeFeeds" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_feedConfigs", + "internalType": "struct IFastUpdatesConfiguration.FeedConfiguration[]" + } + ], + "name": "updateFeeds" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x988C99423360C93F334f6F331Aa8A55cfFEd34B5.json b/songbird/0x988C99423360C93F334f6F331Aa8A55cfFEd34B5.json new file mode 100644 index 0000000000..80d6455f14 --- /dev/null +++ b/songbird/0x988C99423360C93F334f6F331Aa8A55cfFEd34B5.json @@ -0,0 +1,217 @@ +{ + "name": "FtsoV2", + "chainId": 19, + "address": "0x988C99423360C93F334f6F331Aa8A55cfFEd34B5", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + } + ] + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "FTSO_PROTOCOL_ID" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "fastUpdatesConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getFeedById" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getFeedByIdInWei" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "getFeedByIndex" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "getFeedByIndexInWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "getFeedId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getFeedIndex" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "bytes21[]", + "name": "_feedIds", + "internalType": "bytes21[]" + } + ], + "name": "getFeedsById" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "bytes21[]", + "name": "_feedIds", + "internalType": "bytes21[]" + } + ], + "name": "getFeedsByIdInWei" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256[]", + "name": "_indices", + "internalType": "uint256[]" + } + ], + "name": "getFeedsByIndex" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256[]", + "name": "_indices", + "internalType": "uint256[]" + } + ], + "name": "getFeedsByIndexInWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "relay" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "tuple", + "name": "_feedData", + "internalType": "struct FtsoV2Interface.FeedDataWithProof" + } + ], + "name": "verifyFeedData" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x9A7b31D3eDC688bec67cD6647e2679Efc9195E97.json b/songbird/0x9A7b31D3eDC688bec67cD6647e2679Efc9195E97.json new file mode 100644 index 0000000000..1bc53b00de --- /dev/null +++ b/songbird/0x9A7b31D3eDC688bec67cD6647e2679Efc9195E97.json @@ -0,0 +1,400 @@ +{ + "name": "FlareAssetRegistry", + "chainId": 19, + "address": "0x9A7b31D3eDC688bec67cD6647e2679Efc9195E97", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "allAssetTypes" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "allAssets" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "_assetType", + "internalType": "bytes32" + } + ], + "name": "allAssetsOfType" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "_assetType", + "internalType": "bytes32" + } + ], + "name": "allAssetsOfTypeWithSymbols" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "allAssetsWithSymbols" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string", + "name": "_symbol", + "internalType": "string" + } + ], + "name": "assetBySymbol" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "assetType" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + }, + { + "type": "bytes32", + "name": "_nameHash", + "internalType": "bytes32" + } + ], + "name": "getAttribute" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "incentivePoolFor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "isFlareAsset" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "maxDelegatesByPercent" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_provider", + "internalType": "address" + } + ], + "name": "refreshProviderAssets" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "registerAsset" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_provider", + "internalType": "address" + }, + { + "type": "bool", + "name": "_registerAssets", + "internalType": "bool" + } + ], + "name": "registerProvider" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "supportsFtsoDelegation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "address" + } + ], + "name": "unregisterAsset" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_provider", + "internalType": "address" + }, + { + "type": "bool", + "name": "_unregisterAssets", + "internalType": "bool" + } + ], + "name": "unregisterProvider" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x9EB1ec7BB48908B64F0E94bcF991cba719485F7c.json b/songbird/0x9EB1ec7BB48908B64F0E94bcF991cba719485F7c.json new file mode 100644 index 0000000000..b26c517d03 --- /dev/null +++ b/songbird/0x9EB1ec7BB48908B64F0E94bcF991cba719485F7c.json @@ -0,0 +1,336 @@ +{ + "name": "CleanupBlockNumberManager", + "chainId": 19, + "address": "0x9EB1ec7BB48908B64F0E94bcF991cba719485F7c", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "string", + "name": "_triggerContractName", + "internalType": "string" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "contract IICleanable", + "indexed": false + }, + { + "type": "uint256", + "name": "blockNumber", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bool", + "name": "success", + "internalType": "bool", + "indexed": false + } + ], + "name": "CleanupBlockNumberSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "theContract", + "internalType": "contract IICleanable", + "indexed": false + }, + { + "type": "bool", + "name": "add", + "internalType": "bool", + "indexed": false + } + ], + "name": "RegistrationUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_cleanableToken", + "internalType": "contract IICleanable" + } + ], + "name": "registerToken" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "registeredTokens" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "setCleanUpBlockNumber" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "triggerContract" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "triggerContractName" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_cleanableToken", + "internalType": "contract IICleanable" + } + ], + "name": "unregisterToken" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x9c20c3F1fC39F14ad0D09DE91B74a16c12a36C61.json b/songbird/0x9c20c3F1fC39F14ad0D09DE91B74a16c12a36C61.json new file mode 100644 index 0000000000..a30ffbd56b --- /dev/null +++ b/songbird/0x9c20c3F1fC39F14ad0D09DE91B74a16c12a36C61.json @@ -0,0 +1,56 @@ +{ + "name": "FtsoFeedIdConverter", + "chainId": 19, + "address": "0x9c20c3F1fC39F14ad0D09DE91B74a16c12a36C61", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getFeedCategoryAndName" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [ + { + "type": "uint8", + "name": "_category", + "internalType": "uint8" + }, + { + "type": "string", + "name": "_name", + "internalType": "string" + } + ], + "name": "getFeedId" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0x9dCf773832BD2994B2367801BFbd3969630b1781.json b/songbird/0x9dCf773832BD2994B2367801BFbd3969630b1781.json new file mode 100644 index 0000000000..821711d0e7 --- /dev/null +++ b/songbird/0x9dCf773832BD2994B2367801BFbd3969630b1781.json @@ -0,0 +1,466 @@ +{ + "name": "Supply", + "chainId": 19, + "address": "0x9dCf773832BD2994B2367801BFbd3969630b1781", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_initialGenesisAmountWei", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_totalExcludedSupplyWei", + "internalType": "uint256" + }, + { + "type": "address[]", + "name": "_tokenPools", + "internalType": "contract IITokenPool[]" + }, + { + "type": "address[]", + "name": "_foundationAddresses", + "internalType": "address[]" + }, + { + "type": "address", + "name": "_oldSupply", + "internalType": "contract IISupply" + } + ] + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_tokenPool", + "internalType": "contract IITokenPool" + }, + { + "type": "uint256", + "name": "_increaseDistributedSupplyByAmountWei", + "internalType": "uint256" + } + ], + "name": "addTokenPool" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "burnAddress" + }, + { + "type": "function", + "stateMutability": "pure", + "inputs": [], + "name": "burnAddressSongbirdTxFee" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_foundationAddressesToAdd", + "internalType": "address[]" + }, + { + "type": "address[]", + "name": "_foundationAddressesToRemove", + "internalType": "address[]" + } + ], + "name": "changeFoundationAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "decreaseDistributedSupply" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "distributedExcludedSupplyWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getCirculatingSupplyAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getCirculatingSupplyAtCached" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFoundationAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getInflatableBalance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_amountWei", + "internalType": "uint256" + } + ], + "name": "increaseDistributedSupply" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "inflation" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "initialGenesisAmountWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "oldSupply" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "switchOverBlock" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "", + "internalType": "uint256" + } + ], + "name": "tokenPools" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalClaimedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalExcludedSupplyWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalInflationAuthorizedWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "totalLockedWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_inflationAuthorizedWei", + "internalType": "uint256" + } + ], + "name": "updateAuthorizedInflationAndCirculatingSupply" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "updateCirculatingSupply" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "actual", + "indexed": false + }, + { + "type": "uint256", + "name": "expected", + "indexed": false + } + ], + "name": "AuthorizedInflationUpdateError", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address[]", + "name": "addedFoundationAddresses", + "indexed": false + }, + { + "type": "address[]", + "name": "removedFoundationAddresses", + "indexed": false + } + ], + "name": "FoundationAddressesChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + } + ], + "settings": { + "evmVersion": "default", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xC5F28A768eE12f46d82C7C5b3D94C97Da498157C.json b/songbird/0xC5F28A768eE12f46d82C7C5b3D94C97Da498157C.json new file mode 100644 index 0000000000..5c606d526e --- /dev/null +++ b/songbird/0xC5F28A768eE12f46d82C7C5b3D94C97Da498157C.json @@ -0,0 +1,272 @@ +{ + "name": "GovernanceVotePower", + "chainId": 19, + "address": "0xC5F28A768eE12f46d82C7C5b3D94C97Da498157C", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_ownerToken", + "internalType": "contract IVPToken" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "delegator", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "fromDelegate", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "toDelegate", + "internalType": "address", + "indexed": true + } + ], + "name": "DelegateChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "delegate", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "previousBalance", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "newBalance", + "internalType": "uint256", + "indexed": false + } + ], + "name": "DelegateVotesChanged", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cleanerContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_to", + "internalType": "address" + } + ], + "name": "delegate" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_count", + "internalType": "uint256" + } + ], + "name": "delegatedGovernanceVotePowerHistoryCleanup" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_count", + "internalType": "uint256" + } + ], + "name": "delegatesHistoryCleanup" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCleanupBlockNumber" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "getDelegateOfAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + } + ], + "name": "getDelegateOfAtNow" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + } + ], + "name": "getVotes" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ownerToken" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_cleanerContract", + "internalType": "address" + } + ], + "name": "setCleanerContract" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "setCleanupBlockNumber" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "undelegate" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_from", + "internalType": "address" + }, + { + "type": "address", + "name": "_to", + "internalType": "address" + }, + { + "type": "uint256", + "name": "", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "updateAtTokenTransfer" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "votePowerOfAt" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458.json b/songbird/0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458.json new file mode 100644 index 0000000000..c0e0a106e8 --- /dev/null +++ b/songbird/0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458.json @@ -0,0 +1,385 @@ +{ + "name": "FtsoFeedPublisher", + "chainId": 19, + "address": "0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint8", + "name": "_ftsoProtocolId", + "internalType": "uint8" + }, + { + "type": "uint256", + "name": "_feedsHistorySize", + "internalType": "uint256" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "uint32", + "name": "votingRoundId", + "internalType": "uint32", + "indexed": true + }, + { + "type": "bytes21", + "name": "id", + "internalType": "bytes21", + "indexed": true + }, + { + "type": "int32", + "name": "value", + "internalType": "int32", + "indexed": false + }, + { + "type": "uint16", + "name": "turnoutBIPS", + "internalType": "uint16", + "indexed": false + }, + { + "type": "int8", + "name": "decimals", + "internalType": "int8", + "indexed": false + } + ], + "name": "FtsoFeedPublished", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feedsHistorySize" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feedsPublisher" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoProtocolId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + } + ], + "name": "getCurrentFeed" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes21", + "name": "_feedId", + "internalType": "bytes21" + }, + { + "type": "uint256", + "name": "_votingRoundId", + "internalType": "uint256" + } + ], + "name": "getFeed" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_proofs", + "internalType": "struct IFtsoFeedPublisher.FeedWithProof[]" + } + ], + "name": "publish" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_feeds", + "internalType": "struct IFtsoFeedPublisher.Feed[]" + } + ], + "name": "publishFeeds" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "relay" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_feedsPublisher", + "internalType": "address" + } + ], + "name": "setFeedsPublisher" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xDD138B38d87b0F95F6c3e13e78FFDF2588F1732d.json b/songbird/0xDD138B38d87b0F95F6c3e13e78FFDF2588F1732d.json new file mode 100644 index 0000000000..2cf1d9ccfa --- /dev/null +++ b/songbird/0xDD138B38d87b0F95F6c3e13e78FFDF2588F1732d.json @@ -0,0 +1,914 @@ +{ + "name": "ClaimSetupManager", + "chainId": 19, + "address": "0xDD138B38d87b0F95F6c3e13e78FFDF2588F1732d", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_feeValueUpdateOffset", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_minFeeValueWei", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_maxFeeValueWei", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_registerExecutorFeeValueWei", + "internalType": "uint256" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address", + "indexed": false + }, + { + "type": "address[]", + "name": "recipients", + "internalType": "address[]", + "indexed": false + } + ], + "name": "AllowedClaimRecipientsChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "executor", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "validFromRewardEpoch", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "feeValueWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ClaimExecutorFeeValueChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address", + "indexed": false + }, + { + "type": "address[]", + "name": "executors", + "internalType": "address[]", + "indexed": false + } + ], + "name": "ClaimExecutorsChanged", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "delegationAccount", + "internalType": "contract IDelegationAccount", + "indexed": false + } + ], + "name": "DelegationAccountCreated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address", + "indexed": false + }, + { + "type": "address", + "name": "delegationAccount", + "internalType": "contract IDelegationAccount", + "indexed": false + }, + { + "type": "bool", + "name": "enabled", + "internalType": "bool", + "indexed": false + } + ], + "name": "DelegationAccountUpdated", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "executor", + "internalType": "address", + "indexed": false + } + ], + "name": "ExecutorRegistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "executor", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "validFromRewardEpoch", + "internalType": "uint256", + "indexed": false + } + ], + "name": "ExecutorUnregistered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "maxFeeValueWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MaxFeeSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "minFeeValueWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "MinFeeSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "registerExecutorFeeValueWei", + "internalType": "uint256", + "indexed": false + } + ], + "name": "RegisterExecutorFeeSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "owner", + "internalType": "address", + "indexed": false + }, + { + "type": "uint256", + "name": "excessAmount", + "internalType": "uint256", + "indexed": false + } + ], + "name": "SetExecutorsExcessAmountRefunded", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "libraryAddress", + "internalType": "address", + "indexed": false + } + ], + "name": "SetLibraryAddress", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "accountToDelegationAccount" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "allowedClaimRecipients" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_delegatees", + "internalType": "address[]" + }, + { + "type": "uint256[]", + "name": "_bips", + "internalType": "uint256[]" + } + ], + "name": "batchDelegate" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_executor", + "internalType": "address" + }, + { + "type": "address", + "name": "_claimFor", + "internalType": "address" + }, + { + "type": "address", + "name": "_recipient", + "internalType": "address" + } + ], + "name": "checkExecutorAndAllowedRecipient" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "claimExecutors" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_to", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_bips", + "internalType": "uint256" + } + ], + "name": "delegate" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_to", + "internalType": "address" + } + ], + "name": "delegateGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "disableDelegationAccount" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "enableDelegationAccount" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "feeValueUpdateOffset" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_executor", + "internalType": "address" + }, + { + "type": "address[]", + "name": "_owners", + "internalType": "address[]" + } + ], + "name": "getAutoClaimAddressesAndExecutorFee" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + } + ], + "name": "getDelegationAccountData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ], + "name": "getExecutorCurrentFeeValue" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_executor", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardEpoch", + "internalType": "uint256" + } + ], + "name": "getExecutorFeeValue" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ], + "name": "getExecutorInfo" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ], + "name": "getExecutorScheduledFeeValueChanges" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_start", + "internalType": "uint256" + }, + { + "type": "uint256", + "name": "_end", + "internalType": "uint256" + } + ], + "name": "getRegisteredExecutors" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceVP" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_owner", + "internalType": "address" + }, + { + "type": "address", + "name": "_executor", + "internalType": "address" + } + ], + "name": "isClaimExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "libraryAddress" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "maxFeeValueWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "minFeeValueWei" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint256", + "name": "_feeValue", + "internalType": "uint256" + } + ], + "name": "registerExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "registerExecutorFeeValueWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_who", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_blockNumber", + "internalType": "uint256" + } + ], + "name": "revokeDelegationAt" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_recipients", + "internalType": "address[]" + } + ], + "name": "setAllowedClaimRecipients" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "address[]", + "name": "_executors", + "internalType": "address[]" + }, + { + "type": "bool", + "name": "_enableDelegationAccount", + "internalType": "bool" + } + ], + "name": "setAutoClaiming" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "address[]", + "name": "_executors", + "internalType": "address[]" + } + ], + "name": "setClaimExecutors" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_libraryAddress", + "internalType": "address" + } + ], + "name": "setLibraryAddress" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_maxFeeValueWei", + "internalType": "uint256" + } + ], + "name": "setMaxFeeValueWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_minFeeValueWei", + "internalType": "uint256" + } + ], + "name": "setMinFeeValueWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_registerExecutorFeeValueWei", + "internalType": "uint256" + } + ], + "name": "setRegisterExecutorFeeValueWei" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_token", + "internalType": "contract IERC20" + }, + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "transferExternalToken" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "undelegateAll" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "undelegateGovernance" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "unregisterExecutor" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_feeValue", + "internalType": "uint256" + } + ], + "name": "updateExecutorFeeValue" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "wNat" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_amount", + "internalType": "uint256" + } + ], + "name": "withdraw" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xE26AD68b17224951b5740F33926Cc438764eB9a7.json b/songbird/0xE26AD68b17224951b5740F33926Cc438764eB9a7.json new file mode 100644 index 0000000000..eafe0f8444 --- /dev/null +++ b/songbird/0xE26AD68b17224951b5740F33926Cc438764eB9a7.json @@ -0,0 +1,766 @@ +{ + "name": "RewardsV2", + "chainId": 19, + "address": "0xE26AD68b17224951b5740F33926Cc438764eB9a7", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + }, + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + }, + { + "type": "address", + "name": "_oldRewardManager", + "internalType": "address" + }, + { + "type": "uint256", + "name": "_rewardManagerId", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "inputs": [], + "name": "ReentrancyGuardReentrantCall" + }, + { + "type": "error", + "inputs": [ + { + "type": "uint8", + "name": "bits", + "internalType": "uint8" + }, + { + "type": "uint256", + "name": "value", + "internalType": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast" + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "beneficiary", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "rewardOwner", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "recipient", + "internalType": "address", + "indexed": true + }, + { + "type": "uint24", + "name": "rewardEpochId", + "internalType": "uint24", + "indexed": false + }, + { + "type": "uint8", + "name": "claimType", + "internalType": "enum RewardsV2Interface.ClaimType", + "indexed": false + }, + { + "type": "uint120", + "name": "amount", + "internalType": "uint120", + "indexed": false + } + ], + "name": "RewardClaimed", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "RewardClaimsEnabled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256", + "indexed": true + } + ], + "name": "RewardClaimsExpired", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "activate" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "active" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_rewardOwners", + "internalType": "address[]" + }, + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "tuple[]", + "name": "_proofs", + "internalType": "struct RewardsV2Interface.RewardClaimWithProof[]" + } + ], + "name": "autoClaim" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cChainStake" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cChainStakeEnabled" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + }, + { + "type": "address", + "name": "_recipient", + "internalType": "address payable" + }, + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "bool", + "name": "_wrap", + "internalType": "bool" + }, + { + "type": "tuple[]", + "name": "_proofs", + "internalType": "struct RewardsV2Interface.RewardClaimWithProof[]" + } + ], + "name": "claim" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_msgSender", + "internalType": "address" + }, + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + }, + { + "type": "address", + "name": "_recipient", + "internalType": "address payable" + }, + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "bool", + "name": "_wrap", + "internalType": "bool" + }, + { + "type": "tuple[]", + "name": "_proofs", + "internalType": "struct RewardsV2Interface.RewardClaimWithProof[]" + } + ], + "name": "claimProxy" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "claimSetupManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "cleanupBlockNumber" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_rewardEpochId", + "internalType": "uint256" + } + ], + "name": "closeExpiredRewardEpoch" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "deactivate" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "enableCChainStake" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "enableClaims" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "enablePChainStakeMirror" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "firstClaimableRewardEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsCalculator" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "flareSystemsManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "ftsoRewardManagerProxy" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getCurrentRewardEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getExpectedBalance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getInitialRewardEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + } + ], + "name": "getNextClaimableRewardEpochId" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardEpochIdToExpireNext" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardEpochIdsWithClaimableRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getRewardEpochTotals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getRewardOffersManagerList" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + } + ], + "name": "getStateOfRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_rewardOwner", + "internalType": "address" + }, + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + } + ], + "name": "getStateOfRewardsAt" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTokenPoolSupplyData" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getTotals" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_beneficiary", + "internalType": "address" + }, + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "uint8", + "name": "_claimType", + "internalType": "enum RewardsV2Interface.ClaimType" + } + ], + "name": "getUnclaimedRewardState" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple[]", + "name": "_proofs", + "internalType": "struct RewardsV2Interface.RewardClaimWithProof[]" + } + ], + "name": "initialiseWeightBasedClaims" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "newRewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "rewardEpochId", + "internalType": "uint256" + } + ], + "name": "noOfInitialisedWeightBasedClaims" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "oldRewardManager" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "pChainStakeMirror" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "pChainStakeMirrorEnabled" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "type": "uint24", + "name": "_rewardEpochId", + "internalType": "uint24" + }, + { + "type": "bool", + "name": "_inflation", + "internalType": "bool" + } + ], + "name": "receiveRewards" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "rewardManagerId" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "setInitialRewardData" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newRewardManager", + "internalType": "address" + } + ], + "name": "setNewRewardManager" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address[]", + "name": "_rewardOffersManagerList", + "internalType": "address[]" + } + ], + "name": "setRewardOffersManagerList" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "wNat" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xEf4c203470553C654B3870f37ce4DE1fA862Dee0.json b/songbird/0xEf4c203470553C654B3870f37ce4DE1fA862Dee0.json new file mode 100644 index 0000000000..a75d38fdf1 --- /dev/null +++ b/songbird/0xEf4c203470553C654B3870f37ce4DE1fA862Dee0.json @@ -0,0 +1,243 @@ +{ + "name": "FtsoRegistry", + "chainId": 19, + "address": "0xEf4c203470553C654B3870f37ce4DE1fA862Dee0", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governance", + "internalType": "address" + }, + { + "type": "address", + "name": "_initialImplementation", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "newImplementation", + "internalType": "address", + "indexed": false + } + ], + "name": "ImplementationSet", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "fallback", + "stateMutability": "payable" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "implementation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_newImplementation", + "internalType": "address" + } + ], + "name": "setImplementation" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + }, + { + "type": "receive", + "stateMutability": "payable" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019.json b/songbird/0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019.json new file mode 100644 index 0000000000..a2fadcdad3 --- /dev/null +++ b/songbird/0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019.json @@ -0,0 +1,115 @@ +{ + "name": "FlareContractRegistry", + "chainId": 19, + "address": "0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019", + "metadata": { + "compiler": { + "version": "v0.7.6+commit.7338295f" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_addressUpdater", + "internalType": "address" + } + ] + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAddressUpdater" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getAllContracts" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32", + "name": "_nameHash", + "internalType": "bytes32" + } + ], + "name": "getContractAddressByHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string", + "name": "_name", + "internalType": "string" + } + ], + "name": "getContractAddressByName" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes32[]", + "name": "_nameHashes", + "internalType": "bytes32[]" + } + ], + "name": "getContractAddressesByHash" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "string[]", + "name": "_names", + "internalType": "string[]" + } + ], + "name": "getContractAddressesByName" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes32[]", + "name": "_contractNameHashes", + "internalType": "bytes32[]" + }, + { + "type": "address[]", + "name": "_contractAddresses", + "internalType": "address[]" + } + ], + "name": "updateContractAddresses" + } + ], + "settings": { + "evmVersion": null, + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file diff --git a/songbird/0xc5738334b972745067ffa666040fdeadc66cb925.json b/songbird/0xc5738334b972745067ffa666040fdeadc66cb925.json deleted file mode 100644 index d47b159f2e..0000000000 --- a/songbird/0xc5738334b972745067ffa666040fdeadc66cb925.json +++ /dev/null @@ -1,944 +0,0 @@ -{ - "name": "FTSO Reward Manager", - "chainId": 19, - "address": "0xc5738334b972745067fFa666040fdeADc66Cb925", - "metadata": { - "compiler": { - "version": "v0.7.6+commit.7338295f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_feePercentageUpdateOffset", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_defaultFeePercentage", - "internalType": "uint256" - } - ] - }, - { - "type": "event", - "name": "DailyAuthorizedInflationSet", - "inputs": [ - { - "type": "uint256", - "name": "authorizedAmountWei", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "FeePercentageChanged", - "inputs": [ - { - "type": "address", - "name": "dataProvider", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "internalType": "uint256", - "indexed": false - }, - { - "type": "uint256", - "name": "validFromEpoch", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceProposed", - "inputs": [ - { - "type": "address", - "name": "proposedGovernance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceUpdated", - "inputs": [ - { - "type": "address", - "name": "oldGovernance", - "internalType": "address", - "indexed": false - }, - { - "type": "address", - "name": "newGoveranance", - "internalType": "address", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "InflationReceived", - "inputs": [ - { - "type": "uint256", - "name": "amountReceivedWei", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardClaimed", - "inputs": [ - { - "type": "address", - "name": "dataProvider", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "whoClaimed", - "internalType": "address", - "indexed": true - }, - { - "type": "address", - "name": "sentTo", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "rewardEpoch", - "internalType": "uint256", - "indexed": false - }, - { - "type": "uint256", - "name": "amount", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardClaimsExpired", - "inputs": [ - { - "type": "uint256", - "name": "rewardEpochId", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardsDistributed", - "inputs": [ - { - "type": "address", - "name": "ftso", - "internalType": "address", - "indexed": true - }, - { - "type": "uint256", - "name": "epochId", - "internalType": "uint256", - "indexed": false - }, - { - "type": "address[]", - "name": "addresses", - "internalType": "address[]", - "indexed": false - }, - { - "type": "uint256[]", - "name": "rewards", - "internalType": "uint256[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "activate", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "", - "internalType": "bool" - } - ], - "name": "active", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "claimGovernance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimReward", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "_rewardAmount", - "internalType": "uint256" - } - ], - "name": "claimRewardFromDataProviders", - "inputs": [ - { - "type": "address", - "name": "_recipient", - "internalType": "address payable" - }, - { - "type": "uint256[]", - "name": "_rewardEpochs", - "internalType": "uint256[]" - }, - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "closeExpiredRewardEpoch", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "dailyAuthorizedInflation", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "deactivate", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "defaultFeePercentage", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "distributeRewards", - "inputs": [ - { - "type": "address[]", - "name": "_addresses", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_weights", - "internalType": "uint256[]" - }, - { - "type": "uint256", - "name": "_totalWeight", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_epochId", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_ftso", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_priceEpochDurationSeconds", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_currentRewardEpoch", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_priceEpochEndTime", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_votePowerBlock", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "feePercentageUpdateOffset", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract IIFtsoManager" - } - ], - "name": "ftsoManager", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "bool", - "name": "_claimed", - "internalType": "bool" - }, - { - "type": "uint256", - "name": "_amount", - "internalType": "uint256" - } - ], - "name": "getClaimedReward", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - }, - { - "type": "address", - "name": "_claimer", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "getDataProviderCurrentFeePercentage", - "inputs": [ - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "_feePercentageBIPS", - "internalType": "uint256[]" - }, - { - "type": "uint256[]", - "name": "_validFromEpoch", - "internalType": "uint256[]" - }, - { - "type": "bool[]", - "name": "_fixed", - "internalType": "bool[]" - } - ], - "name": "getDataProviderScheduledFeePercentageChanges", - "inputs": [ - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_totalReward", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_claimedReward", - "internalType": "uint256" - } - ], - "name": "getEpochReward", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_startEpochId", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_endEpochId", - "internalType": "uint256" - } - ], - "name": "getEpochsWithClaimableRewards", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "_epochIds", - "internalType": "uint256[]" - } - ], - "name": "getEpochsWithUnclaimedRewards", - "inputs": [ - { - "type": "address", - "name": "_beneficiary", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "getInflationAddress", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "getRewardEpochToExpireNext", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - }, - { - "type": "uint256[]", - "name": "_rewardAmounts", - "internalType": "uint256[]" - }, - { - "type": "bool[]", - "name": "_claimed", - "internalType": "bool[]" - }, - { - "type": "bool", - "name": "_claimable", - "internalType": "bool" - } - ], - "name": "getStateOfRewards", - "inputs": [ - { - "type": "address", - "name": "_beneficiary", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256[]", - "name": "_rewardAmounts", - "internalType": "uint256[]" - }, - { - "type": "bool[]", - "name": "_claimed", - "internalType": "bool[]" - }, - { - "type": "bool", - "name": "_claimable", - "internalType": "bool" - } - ], - "name": "getStateOfRewardsFromDataProviders", - "inputs": [ - { - "type": "address", - "name": "_beneficiary", - "internalType": "address" - }, - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address[]", - "name": "_dataProviders", - "internalType": "address[]" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_foundationAllocatedFundsWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalInflationAuthorizedWei", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_totalClaimedWei", - "internalType": "uint256" - } - ], - "name": "getTokenPoolSupplyData", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "_amount", - "internalType": "uint256" - }, - { - "type": "uint256", - "name": "_weight", - "internalType": "uint256" - } - ], - "name": "getUnclaimedReward", - "inputs": [ - { - "type": "uint256", - "name": "_rewardEpoch", - "internalType": "uint256" - }, - { - "type": "address", - "name": "_dataProvider", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "governance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "initialise", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "lastInflationAuthorizationReceivedTs", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "proposeGovernance", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "address" - } - ], - "name": "proposedGovernance", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "payable", - "outputs": [], - "name": "receiveInflation", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setContractAddresses", - "inputs": [ - { - "type": "address", - "name": "_inflation", - "internalType": "address" - }, - { - "type": "address", - "name": "_ftsoManager", - "internalType": "contract IIFtsoManager" - }, - { - "type": "address", - "name": "_wNat", - "internalType": "contract WNat" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "setDailyAuthorizedInflation", - "inputs": [ - { - "type": "uint256", - "name": "_toAuthorizeWei", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "setDataProviderFeePercentage", - "inputs": [ - { - "type": "uint256", - "name": "_feePercentageBIPS", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalAwardedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalClaimedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalExpiredWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalInflationAuthorizedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalInflationReceivedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "uint256", - "name": "", - "internalType": "uint256" - } - ], - "name": "totalSelfDestructReceivedWei", - "inputs": [] - }, - { - "type": "function", - "stateMutability": "nonpayable", - "outputs": [], - "name": "transferGovernance", - "inputs": [ - { - "type": "address", - "name": "_governance", - "internalType": "address" - } - ] - }, - { - "type": "function", - "stateMutability": "view", - "outputs": [ - { - "type": "address", - "name": "", - "internalType": "contract WNat" - } - ], - "name": "wNat", - "inputs": [] - } - ] - }, - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - } - }, - "version": 1 - }, - "version": 1, - "checkPoints": [] -} \ No newline at end of file diff --git a/songbird/0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D.json b/songbird/0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D.json new file mode 100644 index 0000000000..f4d2a5002a --- /dev/null +++ b/songbird/0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D.json @@ -0,0 +1,280 @@ +{ + "name": "FtsoInflationConfigurations", + "chainId": 19, + "address": "0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D", + "metadata": { + "compiler": { + "version": "v0.8.20+commit.a1b79de6" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ] + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "allowedAfterTimestamp", + "internalType": "uint256", + "indexed": false + }, + { + "type": "bytes", + "name": "encodedCall", + "internalType": "bytes", + "indexed": false + } + ], + "name": "GovernanceCallTimelocked", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "initialGovernance", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernanceInitialised", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "address", + "name": "governanceSettings", + "internalType": "address", + "indexed": false + } + ], + "name": "GovernedProductionModeEntered", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallCanceled", + "anonymous": false + }, + { + "type": "event", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4", + "indexed": false + }, + { + "type": "uint256", + "name": "timestamp", + "internalType": "uint256", + "indexed": false + } + ], + "name": "TimelockedGovernanceCallExecuted", + "anonymous": false + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "tuple", + "name": "_config", + "internalType": "struct IFtsoInflationConfigurations.FtsoConfiguration" + } + ], + "name": "addFtsoConfiguration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "cancelGovernanceCall" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "bytes4", + "name": "_selector", + "internalType": "bytes4" + } + ], + "name": "executeGovernanceCall" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "getFtsoConfiguration" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "getFtsoConfigurations" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governance" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "governanceSettings" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "address", + "name": "_governanceSettings", + "internalType": "contract IGovernanceSettings" + }, + { + "type": "address", + "name": "_initialGovernance", + "internalType": "address" + } + ], + "name": "initialise" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "address", + "name": "_address", + "internalType": "address" + } + ], + "name": "isExecutor" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [], + "name": "productionMode" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + } + ], + "name": "removeFtsoConfiguration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + { + "type": "uint256", + "name": "_index", + "internalType": "uint256" + }, + { + "type": "tuple", + "name": "_config", + "internalType": "struct IFtsoInflationConfigurations.FtsoConfiguration" + } + ], + "name": "replaceFtsoConfiguration" + }, + { + "type": "function", + "stateMutability": "nonpayable", + "inputs": [], + "name": "switchToProductionMode" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "type": "bytes4", + "name": "selector", + "internalType": "bytes4" + } + ], + "name": "timelockedCalls" + } + ], + "settings": { + "evmVersion": "london", + "optimizer": { + "enabled": true, + "runs": [ + 200 + ] + } + }, + "version": 1 + }, + "version": 1, + "checkpoints": [] + } +} \ No newline at end of file