Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-en committed Nov 14, 2024
1 parent c1ed41a commit eb4c29b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions near/nep141-locker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ enum StorageKey {
TokenAddressToId,
TokenDeployerAccounts,
DeployedTokens,
CurrentPayloadNonces,
}

#[derive(AccessControlRole, Deserialize, Serialize, Copy, Clone)]
Expand Down Expand Up @@ -172,8 +171,6 @@ pub struct Contract {
pub token_deployer_accounts: LookupMap<ChainKind, AccountId>,
pub mpc_signer: AccountId,
pub init_transfer_nonce: Nonce,
// We maintain a separate nonce for each chain to oprimise the storage usage on Solana by reducing the gaps.
pub current_payload_nonces: LookupMap<ChainKind, Nonce>,
pub accounts_balances: LookupMap<AccountId, StorageBalance>,
pub wnear_account_id: AccountId,
}
Expand Down Expand Up @@ -249,7 +246,6 @@ impl Contract {
token_deployer_accounts: LookupMap::new(StorageKey::TokenDeployerAccounts),
mpc_signer,
init_transfer_nonce: U128(0),
current_payload_nonces: LookupMap::new(StorageKey::CurrentPayloadNonces),
accounts_balances: LookupMap::new(StorageKey::AccountsBalances),
wnear_account_id,
};
Expand Down

0 comments on commit eb4c29b

Please sign in to comment.