Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Token: add Rust program id and bump version #47

Merged
merged 3 commits into from
Jul 16, 2020
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
6 changes: 3 additions & 3 deletions token/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@

[package]
name = "spl-token"
version = "0.1.0"
version = "1.0.0"
description = "Solana Program Library Token"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana-program-library"
license = "Apache-2.0"
edition = "2018"
exclude = ["js/**"]

[dependencies]
num-derive = "0.2"
Expand Down
4 changes: 2 additions & 2 deletions token/inc/token.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <stdint.h>
#include <stdlib.h>

#define TOKEN_MAJOR_VERSION 0
#define TOKEN_MINOR_VERSION 1
#define TOKEN_MAJOR_VERSION 1
#define TOKEN_MINOR_VERSION 0
#define TOKEN_PATCH_VERSION 0

/**
Expand Down
1 change: 1 addition & 0 deletions token/program-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TokenSVp5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o
2 changes: 2 additions & 0 deletions token/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ pub mod native_mint;
pub mod option;
pub mod processor;
pub mod state;

solana_sdk::declare_id!("TokenSVp5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o");