Skip to content

Commit

Permalink
refactor(iota-framework): rename iota_system_display to `system_dis…
Browse files Browse the repository at this point in the history
…play`
  • Loading branch information
valeriyr committed Nov 5, 2024
1 parent 0fa27f6 commit 121180f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

module iota_system::iota_system_display {
module iota_system::system_display {

use std::string::{Self, String};

Expand All @@ -10,7 +10,7 @@ module iota_system::iota_system_display {
use iota_system::iota_system::IotaSystemState;

/// Create an empty `Display` object with `IotaSystemAdminCap`.
public(package) fun system_new<T: key>(
public(package) fun new<T: key>(
iota_system: &mut IotaSystemState,
ctx: &mut TxContext
): Display<T> {
Expand All @@ -22,7 +22,7 @@ module iota_system::iota_system_display {
}

/// Create a new `Display<T>` object with a set of fields using `IotaSystemAdminCap`.
public(package) fun system_new_with_fields<T: key>(
public(package) fun new_with_fields<T: key>(
iota_system: &mut IotaSystemState,
fields: vector<String>,
values: vector<String>,
Expand Down
Binary file modified crates/iota-framework/packages_compiled/iota-system
Binary file not shown.
16 changes: 8 additions & 8 deletions crates/iota-framework/published_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1018,24 +1018,24 @@ allocate_tokens
activate_validators
fun
0x3::genesis
system_new
new
public(package) fun
0x3::iota_system_display
system_new_with_fields
0x3::system_display
new_with_fields
public(package) fun
0x3::iota_system_display
0x3::system_display
add_display_object
public(package) fun
0x3::iota_system_display
0x3::system_display
borrow_display_object
public(package) fun
0x3::iota_system_display
0x3::system_display
borrow_display_object_mut
public(package) fun
0x3::iota_system_display
0x3::system_display
display_object_key
fun
0x3::iota_system_display
0x3::system_display
secp256k1_ecrecover
public fun
0x2::ecdsa_k1
Expand Down

0 comments on commit 121180f

Please sign in to comment.