Skip to content

Commit

Permalink
add transfer caps action
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaulty committed Nov 13, 2024
1 parent bf90515 commit 3f2a325
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/suins-build-tx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- Multi Purpose Operation
- Profits to Treasury
- Transfer Reserved Names
- Transfer Admin Caps
- Free Coupons
- Create Coupons
sui_tools_image:
Expand Down Expand Up @@ -82,6 +83,16 @@ jobs:
run: |
cd scripts && pnpm transfer::names
- name: Transfer Admin Caps
if: ${{ inputs.transaction_type == 'Transfer Admin Caps' }}
env:
NODE_ENV: production
GAS_OBJECT: ${{ inputs.gas_object_id }}
NETWORK: mainnet
ORIGIN: gh_action
run: |
cd scripts && pnpm transfer::caps
- name: Multi Purpose Operation
if: ${{ inputs.transaction_type == 'Multi Purpose Operation' }}
env:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix"
},
"author": "",
"license": "Apache-2.0"
"license": "Apache-2.0",
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
}
1 change: 1 addition & 0 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"publish-and-setup": "ts-node init/init.ts",
"transactions::main_package::upgrade": "ts-node transactions/main_package_upgrade.ts",
"transfer::names": "ts-node reserved-names/transfer-names.ts",
"transfer::caps": "ts-node transactions/caps-to-foundation.ts",
"withdraw:profits": "ts-node transactions/funds_to_treasury.ts",
"create-deepbook-pools": "ts-node transactions/deepbook/create_pools.ts",
"authorize-renewals": "ts-node transactions/renewals/authorize_renewals.ts",
Expand Down

0 comments on commit 3f2a325

Please sign in to comment.