Skip to content

Commit

Permalink
Merge pull request #7 from edisontim/feat/add-eternum-functions
Browse files Browse the repository at this point in the history
feat: adds create realm and set_approval_for_all for season passes
  • Loading branch information
tarrencev authored Dec 11, 2024
2 parents 8ee3055 + b9e11f8 commit f1e4c56
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 2 deletions.
16 changes: 16 additions & 0 deletions configs/eternum/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@
"name": "Realms contract",
"description": "Manages realm-related actions",
"methods": [
{
"name": "Create a realm",
"description": "Create a new realm",
"entrypoint": "create"
},
{
"name": "Upgrade Level",
"description": "Upgrade the level of a realm",
Expand Down Expand Up @@ -358,6 +363,17 @@
"entrypoint": "request_random"
}
]
},
"0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80": {
"name": "Season pass ERC20 contract",
"description": "Manages the season passes",
"methods": [
{
"name": "Approve for all",
"description": "Approves transfer of season pass",
"entrypoint": "set_approval_for_all"
}
]
}
},
"messages": [
Expand Down
16 changes: 16 additions & 0 deletions dist/generated/controller-configs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/generated/controller-configs.js.map

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions src/generated/controller-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@ export const configs: ControllerConfigs = {
name: "Realms contract",
description: "Manages realm-related actions",
methods: [
{
name: "Create a realm",
description: "Create a new realm",
entrypoint: "create",
},
{
name: "Upgrade Level",
description: "Upgrade the level of a realm",
Expand Down Expand Up @@ -485,6 +490,17 @@ export const configs: ControllerConfigs = {
},
],
},
"0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80": {
name: "Season pass ERC20 contract",
description: "Manages the season passes",
methods: [
{
name: "Approve for all",
description: "Approves transfer of season pass",
entrypoint: "set_approval_for_all",
},
],
},
},
messages: [
{
Expand Down

0 comments on commit f1e4c56

Please sign in to comment.