Skip to main content
Version: Current

Struct Royalty


_10
pub struct Royalty {
_10
_10
pub let receiver: Capability<&AnyResource{FungibleToken.Receiver}>
_10
_10
pub let cut: UFix64
_10
_10
pub let description: String
_10
}

View that defines the composable royalty standard that gives marketplaces a unified interface to support NFT royalties.

Initializer


_10
init(receiver: Capability<&AnyResource{FungibleToken.Receiver}>, cut: UFix64, description: String)