Skip to content

Royalty

MarcoDotIO edited this page Jun 26, 2023 · 1 revision

Royalty

public struct Royalty: ReadObjectProtocol 

Inheritance

ReadObjectProtocol

Initializers

init(numerator:denominator:payeeAddress:)

public init(
        numerator: Int,
        denominator: Int,
        payeeAddress: AccountAddress
    ) 

Properties

numerator

public let numerator: Int

denominator

public let denominator: Int

payeeAddress

public let payeeAddress: AccountAddress

structTag

public static let structTag: String = "0x4::royalty::Royalty"

Methods

parse(_:)

public static func parse(_ resource: JSON) throws -> Royalty 
Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally