Vaulta

discord.pop

Contract

{
  "version": "eosio::abi/1.2",
  "types": [
    {
      "new_type_name": "B_vector_InteractionDataOption_E",
      "type": "InteractionDataOption[]"
    },
    {
      "new_type_name": "Snowflake",
      "type": "string"
    }
  ],
  "structs": [
    {
      "name": "GuildMember",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "User"
        }
      ]
    },
    {
      "name": "Interaction",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "Snowflake"
        },
        {
          "name": "application_id",
          "type": "Snowflake"
        },
        {
          "name": "type",
          "type": "uint32"
        },
        {
          "name": "data",
          "type": "InteractionData"
        },
        {
          "name": "guild_id",
          "type": "Snowflake?"
        },
        {
          "name": "channel_id",
          "type": "Snowflake"
        },
        {
          "name": "member",
          "type": "GuildMember?"
        },
        {
          "name": "user",
          "type": "User?"
        }
      ]
    },
    {
      "name": "InteractionData",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "Snowflake"
        },
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "type",
          "type": "uint32"
        },
        {
          "name": "options",
          "type": "B_vector_InteractionDataOption_E?"
        }
      ]
    },
    {
      "name": "InteractionDataOption",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "type",
          "type": "uint32"
        },
        {
          "name": "value",
          "type": "string"
        }
      ]
    },
    {
      "name": "User",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "Snowflake"
        }
      ]
    },
    {
      "name": "airdrop",
      "base": "",
      "fields": [
        {
          "name": "organizer_user_id",
          "type": "Snowflake"
        },
        {
          "name": "channel_id",
          "type": "Snowflake"
        },
        {
          "name": "options",
          "type": "InteractionDataOption[]"
        }
      ]
    },
    {
      "name": "cleartable",
      "base": "",
      "fields": [
        {
          "name": "table_name",
          "type": "name"
        },
        {
          "name": "scope",
          "type": "name?"
        },
        {
          "name": "max_rows",
          "type": "uint64?"
        }
      ]
    },
    {
      "name": "command",
      "base": "",
      "fields": [
        {
          "name": "interaction",
          "type": "Interaction"
        }
      ]
    },
    {
      "name": "events_row",
      "base": "",
      "fields": [
        {
          "name": "channel_id",
          "type": "uint64"
        },
        {
          "name": "user_ids",
          "type": "pair_uint64_name[]"
        }
      ]
    },
    {
      "name": "logairdrop",
      "base": "",
      "fields": [
        {
          "name": "organizer_user_id",
          "type": "Snowflake"
        },
        {
          "name": "channel_id",
          "type": "Snowflake"
        },
        {
          "name": "total",
          "type": "int32"
        },
        {
          "name": "accounts",
          "type": "name[]"
        }
      ]
    },
    {
      "name": "pair_uint64_name",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "uint64"
        },
        {
          "name": "second",
          "type": "name"
        }
      ]
    },
    {
      "name": "regevent",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "Snowflake"
        },
        {
          "name": "channel_id",
          "type": "Snowflake"
        }
      ]
    },
    {
      "name": "reguser",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "Snowflake"
        },
        {
          "name": "options",
          "type": "InteractionDataOption[]"
        }
      ]
    },
    {
      "name": "setadmin",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "Snowflake"
        },
        {
          "name": "is_admin",
          "type": "bool"
        }
      ]
    },
    {
      "name": "setuser",
      "base": "",
      "fields": [
        {
          "name": "admin_user_id",
          "type": "Snowflake"
        },
        {
          "name": "options",
          "type": "InteractionDataOption[]"
        }
      ]
    },
    {
      "name": "start",
      "base": "",
      "fields": [
        {
          "name": "organizer_user_id",
          "type": "Snowflake"
        },
        {
          "name": "channel_id",
          "type": "Snowflake"
        }
      ]
    },
    {
      "name": "stop",
      "base": "",
      "fields": [
        {
          "name": "organizer_user_id",
          "type": "Snowflake"
        },
        {
          "name": "channel_id",
          "type": "Snowflake"
        }
      ]
    },
    {
      "name": "users_row",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "is_organizer",
          "type": "bool"
        },
        {
          "name": "is_admin",
          "type": "bool"
        },
        {
          "name": "is_ignore",
          "type": "bool"
        },
        {
          "name": "airdrop_limit",
          "type": "int64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "airdrop",
      "type": "airdrop",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: airdrop\nsummary: airdrop\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "cleartable",
      "type": "cleartable",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: cleartable\nsummary: Clear table\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "command",
      "type": "command",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: command\nsummary: command\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "logairdrop",
      "type": "logairdrop",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: logairdrop\nsummary: logairdrop\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "regevent",
      "type": "regevent",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: regevent\nsummary: regevent\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "reguser",
      "type": "reguser",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: reguser\nsummary: Register Discord user ID to EOS account\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "setadmin",
      "type": "setadmin",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: setadmin\nsummary: setadmin\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "setuser",
      "type": "setuser",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: setuser\nsummary: setuser\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "start",
      "type": "start",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: start\nsummary: Start\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    },
    {
      "name": "stop",
      "type": "stop",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: stop\nsummary: stop\nicon: https://ipfs.pinax.network/ipfs/QmZnZ4eCSWPNU2XkXT4Yn3LsCYXYgCPqgLVpqGBTEBzo91#aeeed0cbfe5a8ebcb8015c79b43c697081f621cd61d968f98da9a4cda0a760a2\n---"
    }
  ],
  "tables": [
    {
      "name": "events",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "events_row"
    },
    {
      "name": "users",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "users_row"
    }
  ],
  "ricardian_clauses": [
    {
      "id": "POP Discord",
      "body": "POP Discord Contract"
    }
  ],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}