Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmetic fixes, update to gas in interaction script #36

Merged
merged 3 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ interact-rs/
wallets/
commands.txt
wallet.pem
*.pem
erdpy.data-storage.json
deploy-devnet.interaction.json

Expand Down
11 changes: 1 addition & 10 deletions interaction/devnet.snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ initializeContract(){
--send || return
}


pause(){
erdpy --verbose contract call ${ADDRESS} \
--recall-nonce \
Expand All @@ -69,7 +68,6 @@ pause(){
--send || return
}


unpause(){
erdpy --verbose contract call ${ADDRESS} \
--recall-nonce \
Expand Down Expand Up @@ -97,8 +95,6 @@ freeze(){
--send || return
}



freezeSingleNFT(){
# $1 = token nonce
# $2 = address to freeze
Expand All @@ -124,15 +120,14 @@ unfreeze(){
erdpy --verbose contract call ${ADDRESS} \
--recall-nonce \
--pem=${WALLET} \
--gas-limit=9000000 \
--gas-limit=90000000 \
--function "unfreeze" \
--arguments $address \
--proxy ${PROXY} \
--chain ${CHAIN_ID} \
--send || return
}


unFreezeSingleNFT(){
# $1 = token nonce
# $2 = address to unfreeze
Expand All @@ -150,7 +145,6 @@ unFreezeSingleNFT(){
--send || return
}


wipeSingleNFT(){
# $1 = token nonce
# $2 = address to wipe tokens from
Expand All @@ -168,7 +162,6 @@ wipeSingleNFT(){
--send || return
}


burn(){
# $1 = NFT/SFT Token Identifier,
# $2 = NFT/SFT Token Nonce,
Expand Down Expand Up @@ -270,7 +263,6 @@ setWhiteListSpots(){
--send || return
}


removeWhiteListSpots(){
# $1 = address

Expand All @@ -287,7 +279,6 @@ removeWhiteListSpots(){
--send || return
}


setMintTimeLimit(){
# $1 = mint time limit value u64

Expand Down