WAX

fuel.gm

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "fee_account",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "referral_reward",
          "type": "float64"
        }
      ]
    },
    {
      "name": "configure",
      "base": "",
      "fields": [
        {
          "name": "config",
          "type": "config"
        }
      ]
    },
    {
      "name": "user",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "float64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "claim",
      "type": "claim",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Claim referral rewards\nsummary: 'Claim {{account}}’s referral rewards'\nicon: https://raw.githubusercontent.com/greymass/fuelcontract/master/claim_icon.png#f0fb5574e107b1c32b73b1665aef30ef2f0dae9445de1acd9957ed488d65d05a\n---\n\n{{account}} agrees to have their referral reward balance transferred to their account."
    },
    {
      "name": "configure",
      "type": "configure",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "users",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "user"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}