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

36 lines
4.5 KiB
JSON

╭-------------+------------------------------------------------------+--------------------------------------------------------------------╮
| Type | Signature | Selector |
+=========================================================================================================================================+
| event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| event | SkillAdded(bytes32,string,string) | 0x317611b671d4677eed555961bdf143bc06a2cad70ce0ce4a631c59e9e9a45278 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| event | SkillEnabledSet(bytes32,bool) | 0x42a976804cbd7d91dad6f76d26b555e88073771ca63ca86f8d57e1c0b2f386c5 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| error | NotOwner() | 0x30cd7471 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| error | SkillExists() | 0x56c089b8 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| error | UnknownSkill() | 0x4aedebfa |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| error | ZeroAddress() | 0xd92e233d |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | addSkill(string,string) nonpayable returns (bytes32) | 0xd862ae87 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | allSkillIds() view returns (bytes32[]) | 0x87db41f4 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | getSkill(bytes32) view returns (SkillRegistry.Skill) | 0xda803081 |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | owner() view returns (address) | 0x8da5cb5b |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | setSkillEnabled(bytes32,bool) nonpayable | 0x5411d59c |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | skillCount() view returns (uint256) | 0xb82c1b4a |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| function | transferOwnership(address) nonpayable | 0xf2fde38b |
|-------------+------------------------------------------------------+--------------------------------------------------------------------|
| constructor | constructor(address) nonpayable | |
╰-------------+------------------------------------------------------+--------------------------------------------------------------------╯