Skip to content

Commit 0f67e9c

Browse files
authored
Release 0.1.2 (#9)
1 parent 01a6da5 commit 0f67e9c

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## 0.1.2 2025-03-18
11+
12+
### Changes
13+
14+
- Only an account with the controller role can deploy a proxy token.
15+
1016
## 0.1.1 2025-03-17
1117

1218
### Changes

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace.package]
2-
version = "0.1.1"
2+
version = "0.1.2"
33
edition = "2024"
44
repository = "https://github.com/aurora-is-near/aurora-proxy-token"
55
publish = false

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ cargo make test
2929
pub fn new(dao: Option<AccountId>) -> Self;
3030

3131
/// Deploys a proxy token contract for the given NEP-141 token.
32-
#[payable]
3332
#[pause]
33+
#[payable]
34+
#[access_control_any(roles(Role::Controller))]
3435
pub fn deploy_token(&mut self, token_id: AccountId) -> AccountId;
3536

3637
/// Returns the proxy token contract ID for the given NEP-141 token.

0 commit comments

Comments
 (0)