WAX

waxdaolocker

Contract

The data structures defined by this contract.

  • Action parameter in cancellock

    {
      "name": "cancellock",
      "base": "",
      "fields": [
        {
          "name": "lock_ID",
          "type": "uint64"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "last_lock",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in createlock

    {
      "name": "createlock",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint64"
        }
      ]
    }
  • Table row type of locks

    {
      "name": "locks",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "time_of_creation",
          "type": "uint64"
        },
        {
          "name": "time_of_deposit",
          "type": "uint64"
        },
        {
          "name": "unlock_time",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "lock_ID",
          "type": "uint64"
        }
      ]
    }