Skip to content

Commit

Permalink
rename sui module to iota
Browse files Browse the repository at this point in the history
  • Loading branch information
UMR1352 committed Nov 29, 2024
1 parent cbaf07b commit cd7f35f
Show file tree
Hide file tree
Showing 34 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/assets/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::str::FromStr as _;

use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::transaction::Transaction;
use crate::rebased::transaction::TransactionOutput;
use crate::rebased::utils::MoveType;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use iota_sdk::types::transaction::ProgrammableTransaction;
use move_core_types::ident_str;

use crate::rebased::proposals::BorrowAction;
use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;
use crate::rebased::utils::MoveType;

pub(crate) fn propose_borrow(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use iota_sdk::types::transaction::ProgrammableTransaction;
use move_core_types::ident_str;

use crate::rebased::proposals::ControllerExecution;
use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;
use crate::rebased::utils::MoveType;

pub(crate) fn propose_controller_execution(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use iota_sdk::types::IOTA_FRAMEWORK_PACKAGE_ID;
use move_core_types::ident_str;

use crate::rebased::migration::OnChainIdentity;
use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;

use crate::rebased::utils::MoveType;
use crate::rebased::Error;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use iota_sdk::types::transaction::ObjectArg;
use iota_sdk::types::transaction::ProgrammableTransaction;
use move_core_types::ident_str;

use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;

pub(crate) fn propose_deactivation(
identity: OwnedObjectRef,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020-2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;
use crate::rebased::utils::MoveType;
use crate::rebased::Error;
use iota_sdk::rpc_types::OwnedObjectRef;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use iota_sdk::types::TypeTag;
use move_core_types::ident_str;

use crate::rebased::proposals::SendAction;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::utils::MoveType;

use self::move_calls::utils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use iota_sdk::types::transaction::ObjectArg;
use iota_sdk::types::transaction::ProgrammableTransaction;
use move_core_types::ident_str;

use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;

pub(crate) fn propose_update(
identity: OwnedObjectRef,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use iota_sdk::types::transaction::ObjectArg;
use iota_sdk::types::transaction::ProgrammableTransaction;
use move_core_types::ident_str;

use crate::rebased::sui::move_calls::utils;
use crate::rebased::iota::move_calls::utils;

pub(crate) fn propose_upgrade(
identity: OwnedObjectRef,
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/migration/alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use serde::Serialize;
use crate::rebased::client::IdentityClient;
use crate::rebased::client::IdentityClientReadOnly;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::transaction::Transaction;
use crate::rebased::transaction::TransactionOutput;
use crate::rebased::utils::MoveType;
Expand Down
4 changes: 2 additions & 2 deletions identity_iota_core/src/rebased/migration/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::ops::Deref;
use std::str::FromStr;

use crate::rebased::proposals::Upgrade;
use crate::rebased::sui::types::Number;
use crate::rebased::iota::types::Number;
use crate::IotaDID;
use crate::IotaDocument;
use crate::StateMetadataDocument;
Expand Down Expand Up @@ -46,7 +46,7 @@ use crate::rebased::proposals::DeactivateDid;
use crate::rebased::proposals::ProposalBuilder;
use crate::rebased::proposals::SendAction;
use crate::rebased::proposals::UpdateDidDocument;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::transaction::Transaction;
use crate::rebased::transaction::TransactionOutput;
use crate::rebased::utils::MoveType;
Expand Down
4 changes: 2 additions & 2 deletions identity_iota_core/src/rebased/migration/multicontroller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
use std::collections::HashMap;
use std::collections::HashSet;

use crate::rebased::sui::types::Bag;
use crate::rebased::sui::types::Number;
use crate::rebased::iota::types::Bag;
use crate::rebased::iota::types::Number;
use iota_sdk::types::base_types::ObjectID;
use iota_sdk::types::collection_types::Entry;
use iota_sdk::types::collection_types::VecMap;
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod error;
pub mod migration;
/// Contains the operations of proposals.
pub mod proposals;
mod sui;
mod iota;
/// Module for handling transactions.
pub mod transaction;
/// Contains utility functions.
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::marker::PhantomData;
use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::migration::Proposal;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::transaction::ProtoTransaction;
use crate::rebased::transaction::Transaction;
use crate::rebased::transaction::TransactionOutput;
Expand Down
4 changes: 2 additions & 2 deletions identity_iota_core/src/rebased/proposals/config_change.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::str::FromStr as _;
use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::migration::Proposal;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use async_trait::async_trait;
use iota_sdk::rpc_types::IotaTransactionBlockResponse;
use iota_sdk::types::base_types::IotaAddress;
Expand All @@ -23,7 +23,7 @@ use serde::Deserialize;
use serde::Serialize;

use crate::rebased::migration::OnChainIdentity;
use crate::rebased::sui::types::Number;
use crate::rebased::iota::types::Number;
use crate::rebased::utils::MoveType;
use crate::rebased::Error;

Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::marker::PhantomData;
use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::migration::Proposal;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::transaction::ProtoTransaction;
use crate::rebased::transaction::Transaction;
use crate::rebased::transaction::TransactionOutput;
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/deactivate_did.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::marker::PhantomData;

use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use async_trait::async_trait;
use iota_sdk::rpc_types::IotaTransactionBlockResponse;
use iota_sdk::types::base_types::ObjectID;
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::ops::DerefMut;
use crate::rebased::client::IdentityClientReadOnly;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::migration::get_identity;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::transaction::ProtoTransaction;
use async_trait::async_trait;
pub use borrow::*;
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use serde::Serialize;
use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::migration::OnChainIdentity;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::rebased::utils::MoveType;
use crate::rebased::Error;

Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/update_did_doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::marker::PhantomData;

use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use crate::IotaDocument;
use async_trait::async_trait;
use iota_sdk::rpc_types::IotaTransactionBlockResponse;
Expand Down
2 changes: 1 addition & 1 deletion identity_iota_core/src/rebased/proposals/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::marker::PhantomData;

use crate::rebased::client::IdentityClient;
use crate::rebased::client::IotaKeySignature;
use crate::rebased::sui::move_calls;
use crate::rebased::iota::move_calls;
use async_trait::async_trait;
use iota_sdk::rpc_types::IotaTransactionBlockResponse;
use iota_sdk::types::base_types::ObjectID;
Expand Down

0 comments on commit cd7f35f

Please sign in to comment.