Created
February 9, 2025 15:50
-
-
Save EdsonAlcala/4496100466062d5a92e48c119bd4a8a5 to your computer and use it in GitHub Desktop.
abi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"type": "constructor", | |
"inputs": [ | |
{ | |
"name": "_agentAddress", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "_seedPeriodDuration", | |
"type": "uint256", | |
"internalType": "uint256" | |
}, | |
{ | |
"name": "_earlyWithdrawalPenaltyFee", | |
"type": "uint256", | |
"internalType": "uint256" | |
}, | |
{ | |
"name": "_bondAuctionFactory", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "_atmAuctionFactory", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "ADMIN_ROLE", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint8", | |
"internalType": "uint8" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "agentAddress", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "atmAuctionFactory", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "bondAuctionFactory", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "cancelOwnershipHandover", | |
"inputs": [], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "completeOwnershipHandover", | |
"inputs": [ | |
{ | |
"name": "pendingOwner", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "createFund", | |
"inputs": [ | |
{ | |
"name": "_name", | |
"type": "string", | |
"internalType": "string" | |
}, | |
{ | |
"name": "_symbol", | |
"type": "string", | |
"internalType": "string" | |
}, | |
{ | |
"name": "_underlyingToken", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "_bondToken", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "_atmToken", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "depositCap", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "earlyWithdrawalPenaltyFee", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "fundExists", | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool", | |
"internalType": "bool" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "funds", | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "fundsInformation", | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "creator", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "name", | |
"type": "string", | |
"internalType": "string" | |
}, | |
{ | |
"name": "symbol", | |
"type": "string", | |
"internalType": "string" | |
}, | |
{ | |
"name": "underlyingToken", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "getFunds", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address[]", | |
"internalType": "address[]" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "getFundsInformation", | |
"inputs": [ | |
{ | |
"name": "_fund", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "tuple[]", | |
"internalType": "struct FundFactory.FundInformation[]", | |
"components": [ | |
{ | |
"name": "creator", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "name", | |
"type": "string", | |
"internalType": "string" | |
}, | |
{ | |
"name": "symbol", | |
"type": "string", | |
"internalType": "string" | |
}, | |
{ | |
"name": "underlyingToken", | |
"type": "address", | |
"internalType": "address" | |
} | |
] | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "grantRoles", | |
"inputs": [ | |
{ | |
"name": "user", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "hasAllRoles", | |
"inputs": [ | |
{ | |
"name": "user", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool", | |
"internalType": "bool" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "hasAnyRole", | |
"inputs": [ | |
{ | |
"name": "user", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool", | |
"internalType": "bool" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "maximumDeposit", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "minimumDeposit", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "owner", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "result", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "ownershipHandoverExpiresAt", | |
"inputs": [ | |
{ | |
"name": "pendingOwner", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "result", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "renounceOwnership", | |
"inputs": [], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "renounceRoles", | |
"inputs": [ | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "requestOwnershipHandover", | |
"inputs": [], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "revokeRoles", | |
"inputs": [ | |
{ | |
"name": "user", | |
"type": "address", | |
"internalType": "address" | |
}, | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "function", | |
"name": "rolesOf", | |
"inputs": [ | |
{ | |
"name": "user", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "seedPeriodDuration", | |
"inputs": [], | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"stateMutability": "view" | |
}, | |
{ | |
"type": "function", | |
"name": "setAgentAddress", | |
"inputs": [ | |
{ | |
"name": "_agentAddress", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setAtmAuctionFactory", | |
"inputs": [ | |
{ | |
"name": "_atmAuctionFactory", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setBondAuctionFactory", | |
"inputs": [ | |
{ | |
"name": "_bondAuctionFactory", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setDepositCap", | |
"inputs": [ | |
{ | |
"name": "_depositCap", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setEarlyWithdrawalPenaltyFee", | |
"inputs": [ | |
{ | |
"name": "_earlyWithdrawalPenaltyFee", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setMaximumDeposit", | |
"inputs": [ | |
{ | |
"name": "_maximumDeposit", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setMinimumDeposit", | |
"inputs": [ | |
{ | |
"name": "_minimumDeposit", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "setSeedPeriodDuration", | |
"inputs": [ | |
{ | |
"name": "_seedPeriodDuration", | |
"type": "uint256", | |
"internalType": "uint256" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "nonpayable" | |
}, | |
{ | |
"type": "function", | |
"name": "transferOwnership", | |
"inputs": [ | |
{ | |
"name": "newOwner", | |
"type": "address", | |
"internalType": "address" | |
} | |
], | |
"outputs": [], | |
"stateMutability": "payable" | |
}, | |
{ | |
"type": "event", | |
"name": "OwnershipHandoverCanceled", | |
"inputs": [ | |
{ | |
"name": "pendingOwner", | |
"type": "address", | |
"indexed": true, | |
"internalType": "address" | |
} | |
], | |
"anonymous": false | |
}, | |
{ | |
"type": "event", | |
"name": "OwnershipHandoverRequested", | |
"inputs": [ | |
{ | |
"name": "pendingOwner", | |
"type": "address", | |
"indexed": true, | |
"internalType": "address" | |
} | |
], | |
"anonymous": false | |
}, | |
{ | |
"type": "event", | |
"name": "OwnershipTransferred", | |
"inputs": [ | |
{ | |
"name": "oldOwner", | |
"type": "address", | |
"indexed": true, | |
"internalType": "address" | |
}, | |
{ | |
"name": "newOwner", | |
"type": "address", | |
"indexed": true, | |
"internalType": "address" | |
} | |
], | |
"anonymous": false | |
}, | |
{ | |
"type": "event", | |
"name": "RolesUpdated", | |
"inputs": [ | |
{ | |
"name": "user", | |
"type": "address", | |
"indexed": true, | |
"internalType": "address" | |
}, | |
{ | |
"name": "roles", | |
"type": "uint256", | |
"indexed": true, | |
"internalType": "uint256" | |
} | |
], | |
"anonymous": false | |
}, | |
{ | |
"type": "error", | |
"name": "AlreadyInitialized", | |
"inputs": [] | |
}, | |
{ | |
"type": "error", | |
"name": "FundAlreadyExists", | |
"inputs": [] | |
}, | |
{ | |
"type": "error", | |
"name": "NewOwnerIsZeroAddress", | |
"inputs": [] | |
}, | |
{ | |
"type": "error", | |
"name": "NoHandoverRequest", | |
"inputs": [] | |
}, | |
{ | |
"type": "error", | |
"name": "Unauthorized", | |
"inputs": [] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment