Skip to content
bigearsenal edited this page May 17, 2022 · 1 revision

Mint

public struct Mint: BufferLayout, Equatable, Hashable, Encodable 

Inheritance

BorshCodable, BufferLayout, Encodable, Equatable, Hashable

Initializers

init(from:)

public init(from reader: inout BinaryReader) throws 

Properties

BUFFER_LENGTH

public static var BUFFER_LENGTH: UInt64 = 82

mintAuthorityOption

public let mintAuthorityOption: UInt32

mintAuthority

public let mintAuthority: PublicKey?

supply

public let supply: UInt64

decimals

public let decimals: UInt8

isInitialized

public let isInitialized: Bool

freezeAuthorityOption

public let freezeAuthorityOption: UInt32

freezeAuthority

public let freezeAuthority: PublicKey?

Methods

serialize(to:)

public func serialize(to writer: inout Data) throws 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally