@jbx-protocol/contracts-v1
Version:
1,478 lines • 380 kB
JSON
{
"address": "0x981c8ECD009E3E84eE1fF99266BF1461a12e5c68",
"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": "0x719e4680ff6c0c7eed978b9f60bbe9a64267340eb68b0cc5aff2349d8114b57d",
"receipt": {
"to": null,
"from": "0xE9bE6df23C7f9CaBa3005DA2fa2d8714d340D0aF",
"contractAddress": "0x981c8ECD009E3E84eE1fF99266BF1461a12e5c68",
"transactionIndex": 89,
"gasUsed": "5352523",
"logsBloom": "0x00000000000000000000000000000000000000000000000000801000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000001000000000000000000100000000000000000020000000000000000000800040000000000000000000000000000400000000000000000000100000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200060000000000000000000000000000080000000000000000000000000000000000000",
"blockHash": "0x1a052a5f5a72376d232868fcf5c9541191fbc5151721779061d90ba1570601ae",
"transactionHash": "0x719e4680ff6c0c7eed978b9f60bbe9a64267340eb68b0cc5aff2349d8114b57d",
"logs": [
{
"transactionIndex": 89,
"blockNumber": 13979856,
"transactionHash": "0x719e4680ff6c0c7eed978b9f60bbe9a64267340eb68b0cc5aff2349d8114b57d",
"address": "0x981c8ECD009E3E84eE1fF99266BF1461a12e5c68",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000e9be6df23c7f9caba3005da2fa2d8714d340d0af"
],
"data": "0x",
"logIndex": 120,
"blockHash": "0x1a052a5f5a72376d232868fcf5c9541191fbc5151721779061d90ba1570601ae"
},
{
"transactionIndex": 89,
"blockNumber": 13979856,
"transactionHash": "0x719e4680ff6c0c7eed978b9f60bbe9a64267340eb68b0cc5aff2349d8114b57d",
"address": "0x981c8ECD009E3E84eE1fF99266BF1461a12e5c68",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x000000000000000000000000e9be6df23c7f9caba3005da2fa2d8714d340d0af",
"0x000000000000000000000000af28bcb48c40dbc86f52d459a6562f658fc94b1e"
],
"data": "0x",
"logIndex": 121,
"blockHash": "0x1a052a5f5a72376d232868fcf5c9541191fbc5151721779061d90ba1570601ae"
}
],
"blockNumber": 13979856,
"cumulativeGasUsed": "11355440",
"status": 1,
"byzantium": true
},
"args": [
"0x9b5a4053FfBB11cA9cd858AAEE43cc95ab435418",
"0xf507B2A1dD7439201eb07F11E1d62AfB29216e2E",
"0xee2eBCcB7CDb34a8A822b589F9E8427C24351bfc",
"0xab47304D987390E27Ce3BC0fA4Fe31E3A98B0db2",
"0xB9E4B658298C7A36BdF4C2832042A5D6700c3Ab8",
"0xa9537Cc42555564206D4E57c0eb6943d56E83A30",
"0x46C9999A2EDCD5aA177ed7E8af90c68b7d75Ba46",
"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\"