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

#ntrn-365 credits contract #5

Merged
merged 64 commits into from
Mar 3, 2023
Merged

#ntrn-365 credits contract #5

merged 64 commits into from
Mar 3, 2023

Conversation

NeverHappened
Copy link
Contributor

@NeverHappened NeverHappened commented Feb 8, 2023

Implements this task
Basically an cw20 contract without some messages, with mint modification and additional permissions on some actions.

[UPDATED!] (to 0.13.4) cw20base used:
To get balances at height, needed changes to cw20_base crate: https://github.com/neutron-org/cw-plus_balances-snapshots/compare/v1.0.1...neutron-org:cw-plus_balances-snapshots:balances-snapshot-map-v13?expand=1

@NeverHappened NeverHappened self-assigned this Feb 8, 2023
@NeverHappened NeverHappened changed the title #ntrn-365 feat: add basic structure for credits contract #ntrn-365 credits contract Feb 9, 2023
contracts/credits/src/contract.rs Outdated Show resolved Hide resolved
contracts/credits/src/msg.rs Show resolved Hide resolved
contracts/credits/src/contract.rs Outdated Show resolved Hide resolved
contracts/credits/src/msg.rs Outdated Show resolved Hide resolved
contracts/credits/src/msg.rs Outdated Show resolved Hide resolved
contracts/credits/src/contract.rs Outdated Show resolved Hide resolved
@@ -25,7 +25,7 @@ const CONTRACT_NAME: &str = "crates.io:credits";
const CONTRACT_VERSION: &str = env!("CARGO_PKG_VERSION");

pub const TOKEN_NAME: &str = "cNTRN";
pub const TOKEN_SYMBOL: &str = "ucntrn";
pub const TOKEN_SYMBOL: &str = "cntrn";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cNTRN

contracts/credits/README.md Outdated Show resolved Hide resolved
@zavgorodnii zavgorodnii merged commit d7be169 into main Mar 3, 2023
@zavgorodnii zavgorodnii deleted the feat/credits-contract branch March 3, 2023 10:17
@zavgorodnii zavgorodnii restored the feat/credits-contract branch March 3, 2023 10:17
@zavgorodnii zavgorodnii deleted the feat/credits-contract branch March 3, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants