UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 6.01 kB
var e={id:25631,address:"0x87e5fa96cf097e5d1503bd8ed59949e7c2f58c4f",contract_name:"TransparentUpgradeableProxy",display_name:"Transparent Upgradeable Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0x2e3a6d9050e77be7dbb532b3c0deb87aaec8667e",created_at:1739460827,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"_logic"},{type:"address",name:"initialOwner"},{type:"bytes",name:"_data"}]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"ERC1967InvalidAdmin",type:"error",inputs:[{type:"address",name:"admin"}]},{name:"ERC1967InvalidImplementation",type:"error",inputs:[{type:"address",name:"implementation"}]},{name:"ERC1967NonPayable",type:"error",inputs:[]},{name:"FailedInnerCall",type:"error",inputs:[]},{name:"ProxyDeniedAdminAccess",type:"error",inputs:[]},{name:"AdminChanged",type:"event",inputs:[{type:"address",name:"previousAdmin"},{type:"address",name:"newAdmin"}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{type:"fallback",stateMutability:"payable"}],proxy_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:"FailedInnerCall",type:"error",inputs:[]},{name:"InvalidInitialization",type:"error",inputs:[]},{name:"NotInitializing",type:"error",inputs:[]},{name:"SafeERC20FailedOperation",type:"error",inputs:[{type:"address",name:"token"}]},{name:"ConfigUpdated",type:"event",inputs:[{type:"tuple",name:"params",components:[{type:"address",name:"taxToken"},{type:"address",name:"router"},{type:"address",name:"bondingRouter"},{type:"address",name:"assetToken"},{type:"address",name:"treasury"},{type:"uint256",name:"minSwapThreshold"},{type:"uint256",name:"maxSwapThreshold"}]}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{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:"SwapExecuted",type:"event",inputs:[{type:"uint256",name:"taxTokenAmount"},{type:"uint256",name:"assetTokenAmount"}]},{name:"SwapFailed",type:"event",inputs:[{type:"uint256",name:"taxTokenAmount"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"assetToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"bondingRouter",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getConfig",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple",components:[{type:"address",name:"taxToken"},{type:"address",name:"router"},{type:"address",name:"bondingRouter"},{type:"address",name:"assetToken"},{type:"address",name:"treasury"},{type:"uint256",name:"minSwapThreshold"},{type:"uint256",name:"maxSwapThreshold"}]}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{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:"tuple",name:"config",components:[{type:"address",name:"taxToken"},{type:"address",name:"router"},{type:"address",name:"bondingRouter"},{type:"address",name:"assetToken"},{type:"address",name:"treasury"},{type:"uint256",name:"minSwapThreshold"},{type:"uint256",name:"maxSwapThreshold"}]}],outputs:[]},{name:"maxSwapThreshold",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"minSwapThreshold",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{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:"router",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"setConfig",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"config",components:[{type:"address",name:"taxToken"},{type:"address",name:"router"},{type:"address",name:"bondingRouter"},{type:"address",name:"assetToken"},{type:"address",name:"treasury"},{type:"uint256",name:"minSwapThreshold"},{type:"uint256",name:"maxSwapThreshold"}]},{type:"bool",name:"shouldOverrideDefaultFields"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"swapForAsset",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[{type:"bool"},{type:"uint256"}]},{name:"taxToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"treasury",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"}],outputs:[]}]},t=e;export{t as default};