Skip to content

Commit

Permalink
fixed abstract contract formula namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Dec 21, 2024
1 parent cb62dd1 commit 54f6a9c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/formulas/formulas/contract/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * as abstract from './abstract'
export * from './daoCore'
export * from './delegation'
export * from './distribution'
Expand All @@ -9,6 +10,5 @@ export * from './proposal'
export * from './staking'
export * as valence from './valence'
export * from './voting'
export * from './abstract'

export * from './common'
48 changes: 24 additions & 24 deletions static/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
}
],
"paths": {
"/{chainId}/contract/{address}/abstractAccount/accountId": {
"/{chainId}/contract/{address}/abstract/account/accountId": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > accountId",
"summary": "abstract > account > accountId",
"description": "Get accountId of the account",
"parameters": [
{
Expand Down Expand Up @@ -66,12 +66,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractAccount/info": {
"/{chainId}/contract/{address}/abstract/account/info": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > info",
"summary": "abstract > account > info",
"description": "Get the account info",
"parameters": [
{
Expand Down Expand Up @@ -100,12 +100,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractAccount/moduleInfos": {
"/{chainId}/contract/{address}/abstract/account/moduleInfos": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > moduleInfos",
"summary": "abstract > account > moduleInfos",
"description": "Get module infos that are installed on this account",
"parameters": [
{
Expand Down Expand Up @@ -134,12 +134,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractAccount/owner": {
"/{chainId}/contract/{address}/abstract/account/owner": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > owner",
"summary": "abstract > account > owner",
"description": "Get the owner of the account",
"parameters": [
{
Expand Down Expand Up @@ -168,12 +168,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractAccount/subAccountIds": {
"/{chainId}/contract/{address}/abstract/account/subAccountIds": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > subAccountIds",
"summary": "abstract > account > subAccountIds",
"description": "Get sub-accounts owned by this account",
"parameters": [
{
Expand Down Expand Up @@ -202,12 +202,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractAccount/suspensionStatus": {
"/{chainId}/contract/{address}/abstract/account/suspensionStatus": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > suspensionStatus",
"summary": "abstract > account > suspensionStatus",
"description": "Get suspension status of the account",
"parameters": [
{
Expand Down Expand Up @@ -236,12 +236,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractAccount/whitelistedModules": {
"/{chainId}/contract/{address}/abstract/account/whitelistedModules": {
"get": {
"tags": [
"contract"
],
"summary": "abstractAccount > whitelistedModules",
"summary": "abstract > account > whitelistedModules",
"description": "Get a list of whitelisted modules",
"parameters": [
{
Expand Down Expand Up @@ -270,12 +270,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractRegistry/listLocalAccounts": {
"/{chainId}/contract/{address}/abstract/registry/listLocalAccounts": {
"get": {
"tags": [
"contract"
],
"summary": "abstractRegistry > listLocalAccounts",
"summary": "abstract > registry > listLocalAccounts",
"description": "Lists local accounts on chain",
"parameters": [
{
Expand Down Expand Up @@ -304,12 +304,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractRegistry/listRegisteredModules": {
"/{chainId}/contract/{address}/abstract/registry/listRegisteredModules": {
"get": {
"tags": [
"contract"
],
"summary": "abstractRegistry > listRegisteredModules",
"summary": "abstract > registry > listRegisteredModules",
"description": "Lists registered modules in registry",
"parameters": [
{
Expand Down Expand Up @@ -338,12 +338,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractRegistry/module": {
"/{chainId}/contract/{address}/abstract/registry/module": {
"get": {
"tags": [
"contract"
],
"summary": "abstractRegistry > module",
"summary": "abstract > registry > module",
"description": "Module details",
"parameters": [
{
Expand Down Expand Up @@ -402,12 +402,12 @@
}
}
},
"/{chainId}/contract/{address}/abstractRegistry/moduleConfig": {
"/{chainId}/contract/{address}/abstract/registry/moduleConfig": {
"get": {
"tags": [
"contract"
],
"summary": "abstractRegistry > moduleConfig",
"summary": "abstract > registry > moduleConfig",
"description": "Configuration of the module installation",
"parameters": [
{
Expand Down Expand Up @@ -11538,12 +11538,12 @@
}
}
},
"/{chainId}/account/{address}/abstractAccount/accountsOwnedBy": {
"/{chainId}/account/{address}/abstract/accountsOwnedBy": {
"get": {
"tags": [
"account"
],
"summary": "abstractAccount > accountsOwnedBy",
"summary": "abstract > accountsOwnedBy",
"description": "retrieves account (that use abstract governance to manage ownership) where the account is the owner",
"parameters": [
{
Expand Down

0 comments on commit 54f6a9c

Please sign in to comment.