EOS

atomicassets

Contract

The actions for this contract with their input parameters and potential response data.

  • Accept an offer

    The offer with the id {{nowrap offer_id}} is accepted

    Request Parameters
    offer_iduint64
  • Make an account authorized in a collection

    Add the account {{nowrap account_to_add}} to the authorized_accounts list of the collection {{nowrap collection_name}}

    Request Parameters
    collection_namename
    account_to_addname
  • Add token to supported list

    Adds a token that can then be used to back assets

    Request Parameters
    token_contractname
    token_symbolsymbol
  • Add an account to a collection's notify list

    Add the account {{nowrap account_to_add}} to the notify_accounts list of the collection {{nowrap collection_name}}

    Request Parameters
    collection_namename
    account_to_addname
  • Extend collections schema

    Extends the schema to serialize collection data by one or more lines

    Request Parameters
    collection_format_extensionFORMAT[]
  • Announces a deposit

    {{nowrap owner}} adds the symbol {{nowrap symbol_to_announce}} to his balance table row

    Request Parameters
    ownername
    symbol_to_announcesymbol
  • Backs an asset with tokens

    {{nowrap payer}} backs the asset with the ID {{nowrap asset_id}} with {{nowrap token_to_back}}

    Request Parameters
    payername
    asset_ownername
    asset_iduint64
    token_to_backasset
  • Burn an asset

    {{nowrap asset_owner}} burns his asset with the id {{nowrap asset_id}}

    Request Parameters
    asset_ownername
    asset_iduint64
  • Cancel an offer

    The offer with the id {{nowrap offer_id}} is cancelled

    Request Parameters
    offer_iduint64
  • Create collection

    {{nowrap author}} creates a new collection with the name {{collection_name}}

    Request Parameters
    authorname
    collection_namename
    allow_notifybool
    authorized_accountsname[]
    notify_accountsname[]
    market_feefloat64
    dataATTRIBUTE_MAP
  • Create an offer

    {{nowrap sender}} makes an offer to {{nowrap recipient}}

    Request Parameters
    sendername
    recipientname
    sender_asset_idsuint64[]
    recipient_asset_idsuint64[]
    memostring
  • Create a schema

    {{nowrap authorized_creator}} creates a new schema with the name {{nowrap schema_name}}

    Request Parameters
    authorized_creatorname
    collection_namename
    schema_namename
    schema_formatFORMAT[]
  • Create a template

    {{nowrap authorized_creator}} creates a new template which belongs to the {{nowrap collection_name}} collection and uses the {{nowrap schema_name}} schema

    Request Parameters
    authorized_creatorname
    collection_namename
    schema_namename
    transferablebool
    burnablebool
    max_supplyuint32
    immutable_dataATTRIBUTE_MAP
  • Decline an offer

    The offer with the id {{nowrap offer_id}} is declined

    Request Parameters
    offer_iduint64
  • Extend schema

    Extends the schema {{nowrap schema_name}} by adding one or more FORMAT lines

    Request Parameters
    authorized_editorname
    collection_namename
    schema_namename
    schema_format_extensionFORMAT[]
  • Disallow collection notifications

    Sets the allow_notify value of the collection {{nowrap collection_name}} to false

    Request Parameters
    collection_namename
  • Initialize config tables

    Initialize the tables "config" and "tokenconfig" if they have not been initialized before

    Request Parameters
    No action parameters.
  • Locks a template

    {{nowrap authorized_editor}} locks the template with the id {{nowrap template_id}} belonging to the collection {{nowrap collection_name}}

    Request Parameters
    authorized_editorname
    collection_namename
    template_idint32
  • Request Parameters
    asset_ownername
    asset_iduint64
    backed_tokenasset
  • Request Parameters
    asset_ownername
    asset_iduint64
    collection_namename
    schema_namename
    template_idint32
    backed_tokensasset[]
    old_immutable_dataATTRIBUTE_MAP
    old_mutable_dataATTRIBUTE_MAP
    asset_ram_payername
  • Request Parameters
    asset_iduint64
    authorized_mintername
    collection_namename
    schema_namename
    template_idint32
    new_asset_ownername
    immutable_dataATTRIBUTE_MAP
    mutable_dataATTRIBUTE_MAP
    backed_tokensasset[]
    immutable_template_dataATTRIBUTE_MAP
  • Request Parameters
    offer_iduint64
    sendername
    recipientname
    sender_asset_idsuint64[]
    recipient_asset_idsuint64[]
    memostring
  • Request Parameters
    template_idint32
    authorized_creatorname
    collection_namename
    schema_namename
    transferablebool
    burnablebool
    max_supplyuint32
    immutable_dataATTRIBUTE_MAP
  • Request Parameters
    asset_ownername
    asset_iduint64
    old_dataATTRIBUTE_MAP
    new_dataATTRIBUTE_MAP
  • Request Parameters
    collection_namename
    fromname
    toname
    asset_idsuint64[]
    memostring
  • Mint an asset

    {{nowrap authorized_minter}} mints an asset which will be owned by {{nowrap new_asset_owner}}

    Request Parameters
    authorized_mintername
    collection_namename
    schema_namename
    template_idint32
    new_asset_ownername
    immutable_dataATTRIBUTE_MAP
    mutable_dataATTRIBUTE_MAP
    tokens_to_backasset[]
  • Pays RAM for existing offer

    {{nowrap payer}} will pay for the RAM cost of the offer {{nowrap offer_id}}

    Request Parameters
    payername
    offer_iduint64
  • Remove an account's authorization in a collection

    Remove the account {{nowrap account_to_remove}} from the authorized_accounts list of the collection {{nowrap collection_name}}

    Request Parameters
    collection_namename
    account_to_removename
  • Remove an account from a collection's notfiy list

    Remove the account {{nowrap account_to_remove}} from the notify_accounts list of the collection {{nowrap collection_name}}

    Request Parameters
    collection_namename
    account_to_removename
  • Set the mutable data of an asset

    {{nowrap authorized_editor}} sets the mutable data of the asset with the id {{nowrap asset_id}} owned by {{nowrap asset_owner}}

    Request Parameters
    authorized_editorname
    asset_ownername
    asset_iduint64
    new_mutable_dataATTRIBUTE_MAP
  • Set collection data

    Sets the data of the collection {{nowrap collection_name}}

    Request Parameters
    collection_namename
    dataATTRIBUTE_MAP
  • Set collection market fee

    Sets the market fee of the collection {{nowrap collection_name}}

    Request Parameters
    collection_namename
    market_feefloat64
  • Set tokenconfig version

    Sets the version in the tokenconfigs table to {{nowrap new_version}}

    Request Parameters
    new_versionstring
  • Transfer Assets

    Send one or more assets from {{nowrap from}} to {{nowrap to}}

    Request Parameters
    fromname
    toname
    asset_idsuint64[]
    memostring
  • Withdraws fungible tokens

    {{nowrap owner}} withdraws {{token_to_withdraw}} from his balance

    Request Parameters
    ownername
    token_to_withdrawasset