UNPKG

@jbx-protocol/contracts-v1

Version:
1,478 lines 380 kB
{ "address": "0xE7432E80A75F957121Cb523BA842Db27C6C25F69", "abi": [ { "inputs": [ { "internalType": "contract IProjects", "name": "_projects", "type": "address" }, { "internalType": "contract IFundingCycles", "name": "_fundingCycles", "type": "address" }, { "internalType": "contract ITicketBooth", "name": "_ticketBooth", "type": "address" }, { "internalType": "contract IOperatorStore", "name": "_operatorStore", "type": "address" }, { "internalType": "contract IModStore", "name": "_modStore", "type": "address" }, { "internalType": "contract IPrices", "name": "_prices", "type": "address" }, { "internalType": "contract ITerminalDirectory", "name": "_terminalDirectory", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "uint256", "name": "prod1", "type": "uint256" } ], "name": "PRBMath__MulDivFixedPointOverflow", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "prod1", "type": "uint256" }, { "internalType": "uint256", "name": "denominator", "type": "uint256" } ], "name": "PRBMath__MulDivOverflow", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "AddToBalance", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract ITerminal", "name": "allowed", "type": "address" } ], "name": "AllowMigration", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "fundingCycleId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "Configure", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Deposit", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "fundingCycleId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "components": [ { "internalType": "bool", "name": "preferUnstaked", "type": "bool" }, { "internalType": "uint16", "name": "percent", "type": "uint16" }, { "internalType": "uint48", "name": "lockedUntil", "type": "uint48" }, { "internalType": "address payable", "name": "beneficiary", "type": "address" }, { "internalType": "contract IModAllocator", "name": "allocator", "type": "address" }, { "internalType": "uint56", "name": "projectId", "type": "uint56" } ], "indexed": false, "internalType": "struct PayoutMod", "name": "mod", "type": "tuple" }, { "indexed": false, "internalType": "uint256", "name": "modCut", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "DistributeToPayoutMod", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "fundingCycleId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "components": [ { "internalType": "bool", "name": "preferUnstaked", "type": "bool" }, { "internalType": "uint16", "name": "percent", "type": "uint16" }, { "internalType": "uint48", "name": "lockedUntil", "type": "uint48" }, { "internalType": "address payable", "name": "beneficiary", "type": "address" } ], "indexed": false, "internalType": "struct TicketMod", "name": "mod", "type": "tuple" }, { "indexed": false, "internalType": "uint256", "name": "modCut", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "DistributeToTicketMod", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "target", "type": "uint256" } ], "name": "EnsureTargetLocalWei", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": true, "internalType": "contract ITerminal", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "Migrate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "fundingCycleId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "beneficiary", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "beneficiaryTokens", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalTokens", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "note", "type": "string" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "Pay", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "fundingCycleId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "beneficiary", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "count", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "beneficiaryTicketAmount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "PrintReserveTickets", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "beneficiary", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "memo", "type": "string" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "PrintTickets", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "holder", "type": "address" }, { "indexed": true, "internalType": "address", "name": "beneficiary", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "returnAmount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "Redeem", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "SetFee", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "SetTargetLocalWei", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract IYielder", "name": "newYielder", "type": "address" } ], "name": "SetYielder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "fundingCycleId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "projectId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "beneficiary", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "currency", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "netTransferAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "beneficiaryTransferAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "govFeeAmount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "caller", "type": "address" } ], "name": "Tap", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" } ], "name": "addToBalance", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "contract ITerminal", "name": "_contract", "type": "address" } ], "name": "allowMigration", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" } ], "name": "burnFromDeadAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "uint256", "name": "_count", "type": "uint256" } ], "name": "claimableOverflowOf", "outputs": [ { "internalType": "uint256", "name": "_claimableOverflow", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "components": [ { "internalType": "uint256", "name": "target", "type": "uint256" }, { "internalType": "uint256", "name": "currency", "type": "uint256" }, { "internalType": "uint256", "name": "duration", "type": "uint256" }, { "internalType": "uint256", "name": "cycleLimit", "type": "uint256" }, { "internalType": "uint256", "name": "discountRate", "type": "uint256" }, { "internalType": "contract IFundingCycleBallot", "name": "ballot", "type": "address" } ], "internalType": "struct FundingCycleProperties", "name": "_properties", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "reservedRate", "type": "uint256" }, { "internalType": "uint256", "name": "bondingCurveRate", "type": "uint256" }, { "internalType": "uint256", "name": "reconfigurationBondingCurveRate", "type": "uint256" }, { "internalType": "bool", "name": "payIsPaused", "type": "bool" }, { "internalType": "bool", "name": "ticketPrintingIsAllowed", "type": "bool" }, { "internalType": "contract ITreasuryExtension", "name": "treasuryExtension", "type": "address" } ], "internalType": "struct FundingCycleMetadata2", "name": "_metadata", "type": "tuple" }, { "components": [ { "internalType": "bool", "name": "preferUnstaked", "type": "bool" }, { "internalType": "uint16", "name": "percent", "type": "uint16" }, { "internalType": "uint48", "name": "lockedUntil", "type": "uint48" }, { "internalType": "address payable", "name": "beneficiary", "type": "address" }, { "internalType": "contract IModAllocator", "name": "allocator", "type": "address" }, { "internalType": "uint56", "name": "projectId", "type": "uint56" } ], "internalType": "struct PayoutMod[]", "name": "_payoutMods", "type": "tuple[]" }, { "components": [ { "internalType": "bool", "name": "preferUnstaked", "type": "bool" }, { "internalType": "uint16", "name": "percent", "type": "uint16" }, { "internalType": "uint48", "name": "lockedUntil", "type": "uint48" }, { "internalType": "address payable", "name": "beneficiary", "type": "address" } ], "internalType": "struct TicketMod[]", "name": "_ticketMods", "type": "tuple[]" } ], "name": "configure", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" } ], "name": "currentOverflowOf", "outputs": [ { "internalType": "uint256", "name": "overflow", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "bytes32", "name": "_handle", "type": "bytes32" }, { "internalType": "string", "name": "_uri", "type": "string" }, { "components": [ { "internalType": "uint256", "name": "target", "type": "uint256" }, { "internalType": "uint256", "name": "currency", "type": "uint256" }, { "internalType": "uint256", "name": "duration", "type": "uint256" }, { "internalType": "uint256", "name": "cycleLimit", "type": "uint256" }, { "internalType": "uint256", "name": "discountRate", "type": "uint256" }, { "internalType": "contract IFundingCycleBallot", "name": "ballot", "type": "address" } ], "internalType": "struct FundingCycleProperties", "name": "_properties", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "reservedRate", "type": "uint256" }, { "internalType": "uint256", "name": "bondingCurveRate", "type": "uint256" }, { "internalType": "uint256", "name": "reconfigurationBondingCurveRate", "type": "uint256" }, { "internalType": "bool", "name": "payIsPaused", "type": "bool" }, { "internalType": "bool", "name": "ticketPrintingIsAllowed", "type": "bool" }, { "internalType": "contract ITreasuryExtension", "name": "treasuryExtension", "type": "address" } ], "internalType": "struct FundingCycleMetadata2", "name": "_metadata", "type": "tuple" }, { "components": [ { "internalType": "bool", "name": "preferUnstaked", "type": "bool" }, { "internalType": "uint16", "name": "percent", "type": "uint16" }, { "internalType": "uint48", "name": "lockedUntil", "type": "uint48" }, { "internalType": "address payable", "name": "beneficiary", "type": "address" }, { "internalType": "contract IModAllocator", "name": "allocator", "type": "address" }, { "internalType": "uint56", "name": "projectId", "type": "uint56" } ], "internalType": "struct PayoutMod[]", "name": "_payoutMods", "type": "tuple[]" }, { "components": [ { "internalType": "bool", "name": "preferUnstaked", "type": "bool" }, { "internalType": "uint16", "name": "percent", "type": "uint16" }, { "internalType": "uint48", "name": "lockedUntil", "type": "uint48" }, { "internalType": "address payable", "name": "beneficiary", "type": "address" } ], "internalType": "struct TicketMod[]", "name": "_ticketMods", "type": "tuple[]" } ], "name": "deploy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "fee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fundingCycles", "outputs": [ { "internalType": "contract IFundingCycles", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "contract ITerminal", "name": "_to", "type": "address" } ], "name": "migrate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract ITerminal", "name": "", "type": "address" } ], "name": "migrationIsAllowed", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "modStore", "outputs": [ { "internalType": "contract IModStore", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "operatorStore", "outputs": [ { "internalType": "contract IOperatorStore", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "address", "name": "_beneficiary", "type": "address" }, { "internalType": "string", "name": "_memo", "type": "string" }, { "internalType": "bool", "name": "_preferUnstakedTickets", "type": "bool" } ], "name": "pay", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "prices", "outputs": [ { "internalType": "contract IPrices", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" } ], "name": "printReservedTickets", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_beneficiary", "type": "address" }, { "internalType": "string", "name": "_memo", "type": "string" }, { "internalType": "bool", "name": "_preferUnstakedTickets", "type": "bool" } ], "name": "printTickets", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "projects", "outputs": [ { "internalType": "contract IProjects", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "uint256", "name": "_count", "type": "uint256" }, { "internalType": "uint256", "name": "_minReturnedWei", "type": "uint256" }, { "internalType": "address payable", "name": "_beneficiary", "type": "address" }, { "internalType": "bool", "name": "_preferUnstaked", "type": "bool" } ], "name": "redeem", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "uint256", "name": "_reservedRate", "type": "uint256" } ], "name": "reservedTicketBalanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_fee", "type": "uint256" } ], "name": "setFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_projectId", "type": "uint256" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "uint256", "name": "_currency", "type": "uint256" }, { "internalType": "uint256", "name": "_minReturnedWei", "type": "uint256" } ], "name": "tap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "terminalDirectory", "outputs": [ { "internalType": "contract ITerminalDirectory", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ticketBooth", "outputs": [ { "internalType": "contract ITicketBooth", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "transactionHash": "0x088b586d3cdc837f4992a520c93780bee09ca7b9c650befe6b184ca85427f904", "receipt": { "to": null, "from": "0xE9bE6df23C7f9CaBa3005DA2fa2d8714d340D0aF", "contractAddress": "0xE7432E80A75F957121Cb523BA842Db27C6C25F69", "transactionIndex": 2, "gasUsed": "5352511", "logsBloom": "0x00000000000000000000000000000000000000000000000000801000000000000000000000001000000000000000000000000000000000000000000000000000020000000000000000000000000000000001000000000000000000000000000000000000020000000000000000000800040000000000000000000000000000400000000000000000000100000000100000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200060000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x439eb891d5ca910623a04b24b1886973cce83b9ba9588b632150fa0ac66d3594", "transactionHash": "0x088b586d3cdc837f4992a520c93780bee09ca7b9c650befe6b184ca85427f904", "logs": [ { "transactionIndex": 2, "blockNumber": 9968102, "transactionHash": "0x088b586d3cdc837f4992a520c93780bee09ca7b9c650befe6b184ca85427f904", "address": "0xE7432E80A75F957121Cb523BA842Db27C6C25F69", "topics": [ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x000000000000000000000000e9be6df23c7f9caba3005da2fa2d8714d340d0af" ], "data": "0x", "logIndex": 4, "blockHash": "0x439eb891d5ca910623a04b24b1886973cce83b9ba9588b632150fa0ac66d3594" }, { "transactionIndex": 2, "blockNumber": 9968102, "transactionHash": "0x088b586d3cdc837f4992a520c93780bee09ca7b9c650befe6b184ca85427f904", "address": "0xE7432E80A75F957121Cb523BA842Db27C6C25F69", "topics": [ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", "0x000000000000000000000000e9be6df23c7f9caba3005da2fa2d8714d340d0af", "0x000000000000000000000000af28bcb48c40dbc86f52d459a6562f658fc94b1e" ], "data": "0x", "logIndex": 5, "blockHash": "0x439eb891d5ca910623a04b24b1886973cce83b9ba9588b632150fa0ac66d3594" } ], "blockNumber": 9968102, "cumulativeGasUsed": "5491763", "status": 1, "byzantium": true }, "args": [ "0x34A1d33e49907ADFE05fb4E21411a06a8c4300eE", "0x234985c467E90483bA42fB2C7C2f71A1874D805D", "0x0d038636a670E8bd8cF7D56BC4626f2a6446cF11", "0x5dA2E4Ba83569fb7A22a4aDE14bBEf1236168406", "0x5C091AfF0b5A5B211b7828242343e5ec2306a95B", "0x22c2580c58D2F84165CD5af02729Af344cE7d637", "0x88d8c9E98E6EdE75252c2473abc9724965fe7474", "0xAF28bcB48C40dBC86f52D459A6562F658fc94B1e" ], "solcInputHash": "05c1f0a0e112f0b120e3660168d72443", "metadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IProjects\",\"name\":\"_projects\",\"type\":\"address\"},{\"internalType\":\"contract IFundingCycles\",\"name\":\"_fundingCycles\",\"type\":\"address\"},{\"internalType\":\"contract ITicketBooth\",\"name\":\"_ticketBooth\",\"type\":\"address\"},{\"internalType\":\"contract IOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"},{\"internalType\":\"contract IModStore\",\"name\":\"_modStore\",\"type\":\"address\"},{\"internalType\":\"contract IPrices\",\"name\":\"_prices\",\"type\":\"address\"},{\"internalType\":\"contract ITerminalDirectory\",\"name\":\"_terminalDirectory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prod1\",\"type\":\"uint256\"}],\"name\":\"PRBMath__MulDivFixedPointOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prod1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"PRBMath__MulDivOverflow\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"AddToBalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract ITerminal\",\"name\":\"allowed\",\"type\":\"address\"}],\"name\":\"AllowMigration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Configure\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"contract IModAllocator\",\"name\":\"allocator\",\"type\":\"address\"},{\"internalType\":\"uint56\",\"name\":\"projectId\",\"type\":\"uint56\"}],\"indexed\":false,\"internalType\":\"struct PayoutMod\",\"name\":\"mod\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"modCut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DistributeToPayoutMod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"struct TicketMod\",\"name\":\"mod\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"modCut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DistributeToTicketMod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"target\",\"type\":\"uint256\"}],\"name\":\"EnsureTargetLocalWei\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contract ITerminal\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Migrate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"beneficiaryTokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalTokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"note\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Pay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"beneficiaryTicketAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"PrintReserveTickets\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"PrintTickets\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"SetFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"SetTargetLocalWei\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract IYielder\",\"name\":\"newYielder\",\"type\":\"address\"}],\"name\":\"SetYielder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"netTransferAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"beneficiaryTransferAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"govFeeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Tap\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"addToBalance\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ITerminal\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"allowMigration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"burnFromDeadAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_count\",\"type\":\"uint256\"}],\"name\":\"claimableOverflowOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimableOverflow\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"target\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cycleLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"discountRate\",\"type\":\"uint256\"},{\"internalType\":\"contract IFundingCycleBallot\",\"name\":\"ballot\",\"type\":\"address\"}],\"internalType\":\"struct FundingCycleProperties\",\"name\":\"_properties\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"reservedRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bondingCurveRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reconfigurationBondingCurveRate\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"payIsPaused\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"ticketPrintingIsAllowed\",\"type\":\"bool\"},{\"internalType\":\"contract ITreasuryExtension\",\"name\":\"treasuryExtension\",\"type\":\"address\"}],\"internalType\":\"struct FundingCycleMetadata2\",\"name\":\"_metadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"contract IModAllocator\",\"name\":\"allocator\",\"type\":\"address\"},{\"internalType\":\"uint56\",\"name\":\"projectId\",\"type\":\"uint56\"}],\"internalType\":\"struct PayoutMod[]\",\"name\":\"_payoutMods\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct TicketMod[]\",\"name\":\"_ticketMods\",\"type\":\"tuple[]\"}],\"name\":\"configure\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"currentOverflowOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"overflow\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_handle\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"target\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cycleLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"discountRate\",\"type\":\"uint256\"},{\"internalType\":\"contract IFundingCycleBallot\",\"name\":\"ballot\",\"type\":\"address\"}],\"internalType\":\"struct FundingCycleProperties\",\"name\":\"_properties\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"reservedRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bondingCurveRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reconfig