Module 0x107a::address_unlock_condition
- Function
unlock_alias_address_owned_basic
- Function
unlock_alias_address_owned_nft
- Function
unlock_alias_address_owned_alias
- Function
unlock_alias_address_owned_coinmanager_treasury
- Function
unlock_nft_address_owned_basic
- Function
unlock_nft_address_owned_nft
- Function
unlock_nft_address_owned_alias
use 0x107a::alias;
use 0x107a::alias_output;
use 0x107a::basic_output;
use 0x107a::nft;
use 0x107a::nft_output;
use 0x2::coin_manager;
use 0x2::object;
use 0x2::transfer;
Function unlock_alias_address_owned_basic
Unlock a BasicOutput
locked to the alias address.
public fun unlock_alias_address_owned_basic<T>(self: &mut alias::Alias, output_to_unlock: transfer::Receiving<basic_output::BasicOutput<T>>): basic_output::BasicOutput<T>
Implementation
public fun unlock_alias_address_owned_basic<T>(
self: &mut Alias,
output_to_unlock: Receiving<BasicOutput<T>>
): BasicOutput<T> {
basic_output::receive(self.id(), output_to_unlock)
}
Function unlock_alias_address_owned_nft
Unlock an NftOutput
locked to the alias address.
public fun unlock_alias_address_owned_nft<T>(self: &mut alias::Alias, output_to_unlock: transfer::Receiving<nft_output::NftOutput<T>>): nft_output::NftOutput<T>
Implementation
public fun unlock_alias_address_owned_nft<T>(
self: &mut Alias,
output_to_unlock: Receiving<NftOutput<T>>,
): NftOutput<T> {
nft_output::receive(self.id(), output_to_unlock)
}
Function unlock_alias_address_owned_alias
Unlock an AliasOutput
locked to the alias address.
public fun unlock_alias_address_owned_alias<T>(self: &mut alias::Alias, output_to_unlock: transfer::Receiving<alias_output::AliasOutput<T>>): alias_output::AliasOutput<T>
Implementation
public fun unlock_alias_address_owned_alias<T>(
self: &mut Alias,
output_to_unlock: Receiving<AliasOutput<T>>,
): AliasOutput<T> {
alias_output::receive(self.id(), output_to_unlock)
}
Function unlock_alias_address_owned_coinmanager_treasury
Unlock a CoinManagerTreasuryCap
locked to the alias address.
public fun unlock_alias_address_owned_coinmanager_treasury<T>(self: &mut alias::Alias, treasury_to_unlock: transfer::Receiving<coin_manager::CoinManagerTreasuryCap<T>>): coin_manager::CoinManagerTreasuryCap<T>
Implementation
public fun unlock_alias_address_owned_coinmanager_treasury<T>(
self: &mut Alias,
treasury_to_unlock: Receiving<CoinManagerTreasuryCap<T>>,
): CoinManagerTreasuryCap<T> {
transfer::public_receive(self.id(), treasury_to_unlock)
}
Function unlock_nft_address_owned_basic
Unlock a BasicOutput
locked to the Nft
address.
public fun unlock_nft_address_owned_basic<T>(self: &mut nft::Nft, output_to_unlock: transfer::Receiving<basic_output::BasicOutput<T>>): basic_output::BasicOutput<T>
Implementation
public fun unlock_nft_address_owned_basic<T>(
self: &mut Nft,
output_to_unlock: Receiving<BasicOutput<T>>,
): BasicOutput<T> {
basic_output::receive(self.id(), output_to_unlock)
}
Function unlock_nft_address_owned_nft
Unlock an NftOutput
locked to the Nft
address.
public fun unlock_nft_address_owned_nft<T>(self: &mut nft::Nft, output_to_unlock: transfer::Receiving<nft_output::NftOutput<T>>): nft_output::NftOutput<T>
Implementation
public fun unlock_nft_address_owned_nft<T>(
self: &mut Nft,
output_to_unlock: Receiving<NftOutput<T>>,
): NftOutput<T> {
nft_output::receive(self.id(), output_to_unlock)
}
Function unlock_nft_address_owned_alias
Unlock an AliasOutput
locked to the Nft
address.
public fun unlock_nft_address_owned_alias<T>(self: &mut nft::Nft, output_to_unlock: transfer::Receiving<alias_output::AliasOutput<T>>): alias_output::AliasOutput<T>
Implementation
public fun unlock_nft_address_owned_alias<T>(
self: &mut Nft,
output_to_unlock: Receiving<AliasOutput<T>>,
): AliasOutput<T> {
alias_output::receive(self.id(), output_to_unlock)
}