Skip to content

Commit

Permalink
added license
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Daeva committed Dec 18, 2023
1 parent d2a5122 commit 4fb791c
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 11 deletions.
25 changes: 25 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
PROPRIETARY CODE LICENSE

Copyright (c) M. Daeva. All rights reserved.

Definitions
"Licensed Code" means any software code or code fragments made available under this License. All copies and derivative works of the Licensed Code are also covered by this License.

"Licensee" means any person or entity receiving or using the Licensed Code under the terms of this License.

License Grant
The Licensor grants the Licensee a non-transferable, non-sublicensable, revocable license to copy and use the Licensed Code only in a non-commercial internal environment. The Licensee obtains no rights to distribute, sublicense, sell, modify or otherwise share the Licensed Code.

Restrictions
The Licensee may not distribute, share or otherwise enable any third party to access or use the Licensed Code under any circumstances. This includes both commercial and non-commercial distribution.

Any use of the Licensed Code outside of the Licensee's non-commercial internal environment terminates this License automatically without notice.

Disclaimer of Warranty
The Licensed Code is provided on an "as is" basis without warranty, express or implied, of any kind.

Limitation of Liability
In no event will the Licensor be liable to the Licensee for any damages arising from use or inability to use the Licensed Code.

Termination
This License will terminate immediately without notice if the Licensee fails to comply with any provision of this License. The Licensee must then immediately cease using and destroy all copies of the Licensed Code.
1 change: 0 additions & 1 deletion contracts/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/artifacts
/target
2 changes: 2 additions & 0 deletions contracts/artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
7591410a254f1a381b509c7740c2f25a2859a7802900b4eacc430ccbc2967108 minter-x86_64.wasm
fdf63299a1abf865578dd6c74ac0c074c2d36d3cc05d356e16af7a7afc10a358 staking_platform-x86_64.wasm
2 changes: 2 additions & 0 deletions contracts/artifacts/checksums_intermediate.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
75b2df0a2611806741e805968a9ea4e37f488ae054a29cab3412875725f57aaf minter.wasm
0944982886c7c0c1bc43b065b8db5c0e7e4937a6358cf327c9ce953116923eea staking_platform.wasm
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 12 additions & 10 deletions contracts/scripts/gov/gov-stargaze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,28 @@ PROPOSAL_CREATOR="stars1f37v0rdvrred27tlqqcpkrqpzfv6ddr2a97zzu"
# don't change!
ADMIN="stars1f37v0rdvrred27tlqqcpkrqpzfv6ddr2a97zzu"

MINTER_WASM="./minter.wasm"
STAKING_PLATFORM_WASM="./staking_platform.wasm"
MINTER_WASM="../../artifacts/minter.wasm"
STAKING_PLATFORM_WASM="../../artifacts/staking_platform.wasm"

TITLE="CryptoGopniks NFT Staking Platform: Minter Contract v.1.1.1"
DESCRIPTION=$(cat description.md | jq -Rsa | tr -d '"')
# set 50000000000 for mainnet
DEPOSIT="1000000000ustars"

yes $PASSWORD | $DAEMON tx gov submit-proposal "./prop.json" --from "stars1f37v0rdvrred27tlqqcpkrqpzfv6ddr2a97zzu" $TXFLAG


# echo 'enter seed phrase'
# echo "then enter keyring password twice"
# $DAEMON keys add "admin-gopstake" --recover
yes $PASSWORD | $DAEMON tx wasm submit-proposal wasm-store $MINTER_WASM \
--title "$TITLE" \
--summary "$DESCRIPTION" \
--authority $ADMIN \
--deposit $DEPOSIT \
--from $PROPOSAL_CREATOR \
--instantiate-anyof-addresses $ADMIN \
$TXFLAG
# yes $PASSWORD | $DAEMON tx wasm submit-proposal wasm-store $MINTER_WASM \
# --title "$TITLE" \
# --summary "$DESCRIPTION" \
# --authority $ADMIN \
# --deposit $DEPOSIT \
# --from $PROPOSAL_CREATOR \
# --instantiate-anyof-addresses $ADMIN \
# $TXFLAG



10 changes: 10 additions & 0 deletions contracts/scripts/gov/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"title": "My proposal",
"summary": "A short summary of my proposal",
"authors": [
"M. Daeva"
],
"details": "-",
"proposal_forum_url": "",
"vote_option_context": "yes | no | abstain | veto"
}
19 changes: 19 additions & 0 deletions contracts/scripts/gov/prop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"messages": [
{
"@type": "/cosmos.bank.v1beta1.MsgSend",
"from_address": "stars1f37v0rdvrred27tlqqcpkrqpzfv6ddr2a97zzu",
"to_address": "stars1chgwz55h9kepjq0fkj5supl2ta3nwu639kfa69",
"amount": [
{
"denom": "ustars",
"amount": "42"
}
]
}
],
"metadata": "ewogICJ0aXRsZSI6ICJNeSBwcm9wb3NhbCIsCiAgInN1bW1hcnkiOiAiQSBzaG9ydCBzdW1tYXJ5IG9mIG15IHByb3Bvc2FsIiwKICAiYXV0aG9ycyI6IFsKICAgICJNLiBEYWV2YSIKICBdLAogICJkZXRhaWxzIjogIi0iLAogICJwcm9wb3NhbF9mb3J1bV91cmwiOiAiIiwKICAidm90ZV9vcHRpb25fY29udGV4dCI6ICJ5ZXMgfCBubyB8IGFic3RhaW4gfCB2ZXRvIgp9",
"deposit": "1000000000ustars",
"title": "My proposal",
"summary": "A short summary of my proposal"
}

0 comments on commit 4fb791c

Please sign in to comment.