-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2518f33
commit bb2326f
Showing
3 changed files
with
22 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { TransactionBlock } from "@mysten/sui.js/transactions"; | ||
import { Network, mainPackage } from "../../config/constants"; | ||
import { setupFreeClaimsForType } from "../../config/discounts"; | ||
import { executeTx, prepareMultisigTx, prepareSigner } from "../../airdrop/helper"; | ||
|
||
const BASECAMP_NFT_TYPE = '0xadccd2df6d388cf75bbe8913a2eb66bb64a079ca3f2c1fab71dfa86671f1daae::commemorative_nfts::Commemorative'; | ||
|
||
export const setup = async (network: Network) => { | ||
const setup = mainPackage[network]; | ||
const txb = new TransactionBlock(); | ||
|
||
// a free claim for names of 5+ characters for each nami bag NFT | ||
setupFreeClaimsForType(txb, setup, BASECAMP_NFT_TYPE, { from: 5, to: 63 }); | ||
|
||
return prepareMultisigTx(txb, 'mainnet'); | ||
} | ||
|
||
setup('mainnet') |