Jungle 4 (Testnet)

gift.gm

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "addoper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "daily_quota_bytes",
          "type": "int64"
        }
      ]
    },
    {
      "name": "giftacct",
      "base": "",
      "fields": [
        {
          "name": "op",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "int64"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "operator_row",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "daily_quota_bytes",
          "type": "int64"
        },
        {
          "name": "used_bytes",
          "type": "int64"
        },
        {
          "name": "window_start",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "reset",
      "base": "",
      "fields": []
    },
    {
      "name": "rmoper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "name": "setquota",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "daily_quota_bytes",
          "type": "int64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addoper",
      "type": "addoper",
      "ricardian_contract": "---\n\nspec_version: \"0.2.0\"\ntitle: 'Add Operator'\nsummary: 'Register an operator allowed to gift RAM to newly created accounts.'\nicon: https://avatars.githubusercontent.com/u/147292861?s=400&u=3b1af66e90dd851f4d7c096ed6a2fbb4b9e190da\n\n---"
    },
    {
      "name": "giftacct",
      "type": "giftacct",
      "ricardian_contract": "---\n\nspec_version: \"0.2.0\"\ntitle: 'Gift RAM to Account'\nsummary: 'Gift RAM to a newly created account within the operator\\'s quota.'\nicon: https://avatars.githubusercontent.com/u/147292861?s=400&u=3b1af66e90dd851f4d7c096ed6a2fbb4b9e190da\n\n---"
    },
    {
      "name": "reset",
      "type": "reset",
      "ricardian_contract": ""
    },
    {
      "name": "rmoper",
      "type": "rmoper",
      "ricardian_contract": "---\n\nspec_version: \"0.2.0\"\ntitle: 'Remove Operator'\nsummary: 'Remove an operator, revoking its ability to gift RAM.'\nicon: https://avatars.githubusercontent.com/u/147292861?s=400&u=3b1af66e90dd851f4d7c096ed6a2fbb4b9e190da\n\n---"
    },
    {
      "name": "setquota",
      "type": "setquota",
      "ricardian_contract": "---\n\nspec_version: \"0.2.0\"\ntitle: 'Set Operator Quota'\nsummary: 'Change the daily RAM gifting quota for an operator.'\nicon: https://avatars.githubusercontent.com/u/147292861?s=400&u=3b1af66e90dd851f4d7c096ed6a2fbb4b9e190da\n\n---"
    }
  ],
  "tables": [
    {
      "name": "operators",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "operator_row"
    }
  ],
  "ricardian_clauses": [
    {
      "id": "gift",
      "body": "gift"
    }
  ],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}