common/types

Types

Constructors

  • AssetClass { policy_id: value.PolicyId, token_name: value.AssetName }

Constructors

  • InstantBuyDatum {
      seller_address: Address,
      listing_marketplace_treasury: WithdrawalMethod,
      listing_affiliate_treasury: Option<WithdrawalMethod>,
      asset_price: Int,
      royalty: Option<Royalty>,
    }

Constructors

  • OfferDatum {
      offerer_address: Address,
      listing_marketplace_treasury: WithdrawalMethod,
      listing_affiliate_treasury: Option<WithdrawalMethod>,
      offered_price: Int,
      wanted_asset: WantedAsset,
      royalty: Option<Royalty>,
    }

Constructors

  • ProtocolParams {
      instant_buy_validator_hash: Hash<Blake2b_224, Script>,
      instant_buy_currency_symbol: value.PolicyId,
      offer_calidator_hash: Hash<Blake2b_224, Script>,
      accept_offer_currency_symbol: value.PolicyId,
      treasury_validator_hash: Hash<Blake2b_224, Script>,
      withdraw_fees_currency_symbol: value.PolicyId,
      jam_on_bread_treasury: WithdrawalMethod,
      jam_staking_credentials: List<StakeCredential>,
    }

Constructors

  • Royalty { portion: Int, treasury: WithdrawalMethod }

Constructors

  • SellingMarketplaceFeePart { portion: Int, treasury: WithdrawalMethod }

Constructors

  • Token { policy: value.PolicyId, count: Int }

Constructors

  • WantedAssetSpecific(AssetClass)
  • WantedAssetAny(value.PolicyId)

Constructors

  • AddressWithdrawalMethod(Address)
  • TokenWithdrawalMethod(TokenValidation)

Functions

data(data: Data) -> Data

Search Document