UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 6.74 kB
var e={id:25642,address:"0x405b266393ab515044fe44478c88957e1e422cb8",contract_name:"MemepadFactory",display_name:"Memepad Factory",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1739460767,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"AccessControlBadConfirmation",type:"error",inputs:[]},{name:"AccessControlUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"neededRole"}]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"AddressInsufficientBalance",type:"error",inputs:[{type:"address",name:"account"}]},{name:"ERC1167FailedCreateClone",type:"error",inputs:[]},{name:"EnforcedPause",type:"error",inputs:[]},{name:"ExpectedPause",type:"error",inputs:[]},{name:"FailedInnerCall",type:"error",inputs:[]},{name:"InvalidInitialization",type:"error",inputs:[]},{name:"NotInitializing",type:"error",inputs:[]},{name:"ReentrancyGuardReentrantCall",type:"error",inputs:[]},{name:"SafeERC20FailedOperation",type:"error",inputs:[{type:"address",name:"token"}]},{name:"TokenAdminIsNotSet",type:"error",inputs:[]},{name:"GovUpdated",type:"event",inputs:[{type:"address",name:"newGov"}]},{name:"ImplContractsUpdated",type:"event",inputs:[{type:"address",name:"token"},{type:"address",name:"dao"}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"RoleAdminChanged",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"bytes32",name:"previousAdminRole",indexed:true},{type:"bytes32",name:"newAdminRole",indexed:true}]},{name:"RoleGranted",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"RoleRevoked",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"TokenUpgraded",type:"event",inputs:[{type:"uint256",name:"id",indexed:true},{type:"tuple",name:"token",components:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"address",name:"token"},{type:"address",name:"bondingToken"},{type:"address",name:"proposer"},{type:"address",name:"creator"},{type:"address",name:"locker"}]}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"UpgradedTokenThresholdUpdated",type:"event",inputs:[{type:"uint256",name:"newThreshold"}]},{name:"BONDING_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"getConfig",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple",components:[{type:"address",name:"tokenImplementation"},{type:"address",name:"assetToken"},{type:"uint256",name:"maturityDuration"},{type:"address",name:"uniswapRouter"},{type:"uint256",name:"projectBuyTaxBasisPoints"},{type:"uint256",name:"projectSellTaxBasisPoints"},{type:"uint256",name:"taxSwapThresholdBasisPoints"},{type:"address",name:"projectTaxRecipient"}]}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"getRoleMember",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"uint256",name:"index"}],outputs:[{type:"address"}]},{name:"getRoleMemberCount",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"uint256"}]},{name:"getTokenAddress",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"id"}],outputs:[{type:"address",name:"token"}]},{name:"getTokenInfo",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"id"}],outputs:[{type:"tuple",components:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"address",name:"token"},{type:"address",name:"bondingToken"},{type:"address",name:"proposer"},{type:"address",name:"creator"},{type:"address",name:"locker"}]}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"address",name:"bonding"},{type:"tuple",name:"params",components:[{type:"address",name:"tokenImplementation"},{type:"address",name:"assetToken"},{type:"uint256",name:"maturityDuration"},{type:"address",name:"uniswapRouter"},{type:"uint256",name:"projectBuyTaxBasisPoints"},{type:"uint256",name:"projectSellTaxBasisPoints"},{type:"uint256",name:"taxSwapThresholdBasisPoints"},{type:"address",name:"projectTaxRecipient"}]}],outputs:[]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"recordFromBondingCurve",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"address",name:"bondingToken"},{type:"uint256",name:"assetForLiquidity"},{type:"address",name:"creator"},{type:"uint256",name:"totalSupply"},{type:"uint256",name:"lpSupply"},{type:"address",name:"tokenConverter"}],outputs:[{type:"uint256",name:"id"},{type:"address",name:"newToken"},{type:"address",name:"uniswapPair"}]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"callerConfirmation"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"setConfig",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"params",components:[{type:"address",name:"tokenImplementation"},{type:"address",name:"assetToken"},{type:"uint256",name:"maturityDuration"},{type:"address",name:"uniswapRouter"},{type:"uint256",name:"projectBuyTaxBasisPoints"},{type:"uint256",name:"projectSellTaxBasisPoints"},{type:"uint256",name:"taxSwapThresholdBasisPoints"},{type:"address",name:"projectTaxRecipient"}]},{type:"bool",name:"shouldOverrideDefaultFields"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"totalTokens",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]}]},t=e;export{t as default};