Telos

escrow.start

Contract

The data structures defined by this contract.

  • Action parameter in cancellock

    {
      "name": "cancellock",
      "base": "",
      "fields": [
        {
          "name": "lock_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "beneficiary",
          "type": "name"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "pools_account",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Struct property of settings

    Struct property of wallet

    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "pools_account",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Action parameter in lock

    {
      "name": "lock",
      "base": "",
      "fields": [
        {
          "name": "lock_type",
          "type": "name"
        },
        {
          "name": "sponsor",
          "type": "name"
        },
        {
          "name": "beneficiary",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "extended_asset"
        },
        {
          "name": "trigger_source",
          "type": "name"
        },
        {
          "name": "trigger_event",
          "type": "name"
        },
        {
          "name": "vesting_date",
          "type": "time_point"
        },
        {
          "name": "notes",
          "type": "string"
        }
      ]
    }
  • Table row type of settings

    {
      "name": "settings",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "platform_token",
          "type": "extended_symbol"
        },
        {
          "name": "featured_pools",
          "type": "uint64[]"
        },
        {
          "name": "listing_fee",
          "type": "asset"
        },
        {
          "name": "premium_access_fee",
          "type": "asset"
        },
        {
          "name": "social_fee",
          "type": "asset"
        },
        {
          "name": "lockup_buckets",
          "type": "uint32"
        },
        {
          "name": "unstake_buckets",
          "type": "uint32"
        },
        {
          "name": "social_buckets",
          "type": "uint32"
        },
        {
          "name": "fee_account",
          "type": "name"
        },
        {
          "name": "success_fee",
          "type": "double_t"
        },
        {
          "name": "website",
          "type": "string"
        },
        {
          "name": "contact",
          "type": "string"
        },
        {
          "name": "sourcecode",
          "type": "string"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "last_pool_id",
          "type": "uint64"
        },
        {
          "name": "last_pool_account_id",
          "type": "uint64"
        },
        {
          "name": "last_token_id",
          "type": "uint64"
        },
        {
          "name": "stake_pool",
          "type": "asset"
        }
      ]
    }
  • Table row type of locks

    {
      "name": "token_lock",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "lock_type",
          "type": "name"
        },
        {
          "name": "sponsor",
          "type": "name"
        },
        {
          "name": "beneficiary",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "extended_asset"
        },
        {
          "name": "trigger_source",
          "type": "name"
        },
        {
          "name": "trigger_event",
          "type": "name"
        },
        {
          "name": "vesting_date",
          "type": "time_point"
        },
        {
          "name": "locked",
          "type": "bool"
        },
        {
          "name": "notes",
          "type": "string"
        },
        {
          "name": "created_date",
          "type": "time_point"
        },
        {
          "name": "updated_date",
          "type": "time_point"
        }
      ]
    }
  • Table row type of wallets

    {
      "name": "wallet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "extended_symbol"
        },
        {
          "name": "locked_balance",
          "type": "asset"
        },
        {
          "name": "liquid_balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "extended_asset"
        }
      ]
    }