Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

my_minter

Module0xce52…32af
Move path
0xce52…32af::my_minter
Functions
135 public, 5 entry
Structs
6
Friend modules
None
my_minter

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module my_minter;
struct Collection has store, key {
id: UID,
name: String,
description: String,
owner: address,
}
struct MY_MINTER has drop {
dummy_field: bool,
}
struct Minter has key {
id: UID,
collection: ID,
owner: address,
minted: u64,
supply: u64,
name: String,
description: String,
phases: vector<SalePhase>,
user_buys: Table<address, u64>,
sale_phase_buys: Table<String, u64>,
url: String,
}
struct NFTMinted has copy, drop {
object_id: ID,
creator: address,
name: String,
minter: address,
}
struct Nft has store, key {
id: UID,
name: String,
description: String,
img_url: String,
image_url: String,
url: Url,
collection_id: ID,
symbol: Option<String>,
attribute_keys: vector<String>,
attribute_values: vector<String>,
creator: address,
}
struct SalePhase has drop, store {
price: u64,
max_sales: Option<u64>,
mints_per_user: Option<u64>,
start_time: u64,
name: String,
root: Option<vector<u8>>,
}
public entry fun add_phase(&mut Minter,String,u64,Option<u64>,Option<u64>,u64,Option<vector<u8>>)
fun compare_vector(&vector<u8>, &vector<u8>): u8
public entry fun create(u64,u64,String,String,String,String,u64,String)
fun extract_vector(vector<u8>,u64,u64): vector<u8>
fun hashPair(vector<u8>, vector<u8>): vector<u8>
fun init(MY_MINTER)
public entry fun mint(&mut Minter,u64,&mut Coin<SUI>,&minter::Config,&Clock,vector<u8>)
fun processProof(vector<u8>, vector<u8>): vector<u8>
public entry fun remove_phase(&mut Minter,String)
fun to_string(u64): String
public entry fun update_phase(&mut Minter,String,u64,Option<u64>,Option<u64>,u64,Option<vector<u8>>)
fun verify(vector<u8>,vector<u8>,vector<u8>)
fun zero_padded(u64): vector<u8>