spartarena/packages/contracts/abi/AgentStaking.json
2026-06-14 00:47:21 +03:00

68 lines
9.1 KiB
JSON

╭-------------+---------------------------------------------------------+--------------------------------------------------------------------╮
| Type | Signature | Selector |
+============================================================================================================================================+
| event | MinBondUpdated(uint256) | 0x4e187bed151ebc2844096ec69d78986574cddf8a4c9176c4df0668030fcdb644 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| event | Slashed(uint256,uint256,uint256,string) | 0x42e88f89b79b1a0a76dd90c33013a7371f751d39b7dff59b45d6bd8e7d7ec354 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| event | Staked(uint256,address,uint256,uint256) | 0x17700ceb1658b18206f427c1578048e87504106b14ec69e9b4586d9a95174a32 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| event | TreasuryUpdated(address) | 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| event | Unstaked(uint256,address,uint256,uint256) | 0xffdaf13b1d96bfc2213355f353f84c19493e0681eb0df26f83d862acd266750a |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| event | WriterUpdated(address,bool) | 0x7500d470ca795448d4f0b796ac1d4562fd0d46302770ff16ee8aa96db044c93f |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | InsufficientBond() | 0xe92c469f |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | InvalidAmount() | 0x2c5211c6 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | NotAgentOwner() | 0x390772fc |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | NotAuthorized() | 0xea8e4eb5 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | NotOwner() | 0x30cd7471 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | TransferFailed() | 0x90b8ec18 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | UnknownAgent() | 0x0df2949d |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| error | ZeroAddress() | 0xd92e233d |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | agentRegistry() view returns (IAgentRegistry) | 0x0d1cfcae |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | bondOf(uint256) view returns (uint256) | 0xc60df258 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | isActive(uint256) view returns (bool) | 0x82afd23b |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | isWriter(address) view returns (bool) | 0x2b29ba23 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | minBond() view returns (uint256) | 0x831518b7 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | owner() view returns (address) | 0x8da5cb5b |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | setMinBond(uint256) nonpayable | 0x6eaae824 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | setTreasury(address) nonpayable | 0xf0f44260 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | setWriter(address,bool) nonpayable | 0x1f91b39f |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | slash(uint256,uint256,string) nonpayable | 0xb759e837 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | stake(uint256) payable | 0xa694fc3a |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | totalBonded() view returns (uint256) | 0x44d96e95 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | transferOwnership(address) nonpayable | 0xf2fde38b |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | treasury() view returns (address) | 0x61d027b3 |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| function | unstake(uint256,uint256) nonpayable | 0x9e2c8a5b |
|-------------+---------------------------------------------------------+--------------------------------------------------------------------|
| constructor | constructor(address,address,uint256,address) nonpayable | |
╰-------------+---------------------------------------------------------+--------------------------------------------------------------------╯