Telos

ascendinsur1

Contract

The data structures defined by this contract.

  • Action parameter in addsubscribe

    {
      "name": "addsubscribe",
      "base": "",
      "fields": [
        {
          "name": "contract_n",
          "type": "name"
        },
        {
          "name": "subscriber",
          "type": "name"
        }
      ]
    }
  • Action parameter in claimbalance

    {
      "name": "claimbalance",
      "base": "",
      "fields": [
        {
          "name": "contract_n",
          "type": "name"
        },
        {
          "name": "subscriber",
          "type": "name"
        }
      ]
    }
  • Table row type of contracts

    {
      "name": "contracts",
      "base": "",
      "fields": [
        {
          "name": "contract_name",
          "type": "name"
        },
        {
          "name": "checking_action",
          "type": "name"
        },
        {
          "name": "latitude_deg",
          "type": "float64"
        },
        {
          "name": "longitude_deg",
          "type": "float64"
        },
        {
          "name": "threshold_1",
          "type": "float32"
        },
        {
          "name": "threshold_2",
          "type": "float32"
        },
        {
          "name": "token_name",
          "type": "name"
        },
        {
          "name": "trigger_amount_usd",
          "type": "float32"
        },
        {
          "name": "if_enabled",
          "type": "bool"
        }
      ]
    }
  • Action parameter in heatcheck1

    {
      "name": "heatcheck1",
      "base": "",
      "fields": [
        {
          "name": "station",
          "type": "name"
        },
        {
          "name": "contract_n",
          "type": "name"
        }
      ]
    }
  • Action parameter in mapbylatlon

    {
      "name": "mapbylatlon",
      "base": "",
      "fields": [
        {
          "name": "contract_n",
          "type": "name"
        },
        {
          "name": "station_type",
          "type": "name"
        },
        {
          "name": "distance_km",
          "type": "float32"
        }
      ]
    }
  • Action parameter in mapstation

    {
      "name": "mapstation",
      "base": "",
      "fields": [
        {
          "name": "station",
          "type": "name"
        },
        {
          "name": "contract_n",
          "type": "name"
        }
      ]
    }
  • Action parameter in newcontract

    {
      "name": "newcontract",
      "base": "",
      "fields": [
        {
          "name": "contract_n",
          "type": "name"
        },
        {
          "name": "checking_action",
          "type": "name"
        },
        {
          "name": "token_name",
          "type": "name"
        },
        {
          "name": "trigger_amount_usd",
          "type": "float32"
        },
        {
          "name": "latitude_deg",
          "type": "float32"
        },
        {
          "name": "longitude_deg",
          "type": "float32"
        },
        {
          "name": "threshold_1",
          "type": "float32"
        },
        {
          "name": "threshold_2",
          "type": "float32"
        }
      ]
    }
  • Action parameter in payout

    {
      "name": "payout",
      "base": "",
      "fields": [
        {
          "name": "contract_n",
          "type": "name"
        }
      ]
    }
  • Action parameter in raincheck1

    {
      "name": "raincheck1",
      "base": "",
      "fields": [
        {
          "name": "station",
          "type": "name"
        },
        {
          "name": "contract_n",
          "type": "name"
        }
      ]
    }
  • Action parameter in rmcontract

    {
      "name": "rmcontract",
      "base": "",
      "fields": [
        {
          "name": "contract_n",
          "type": "name"
        }
      ]
    }
  • Action parameter in stationdefi

    {
      "name": "stationdefi",
      "base": "",
      "fields": [
        {
          "name": "station",
          "type": "name"
        }
      ]
    }
  • Table row type of stationmap

    {
      "name": "stationmap",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Table row type of subscribers

    {
      "name": "subscribers",
      "base": "",
      "fields": [
        {
          "name": "subscriber",
          "type": "name"
        },
        {
          "name": "subscriber_evm",
          "type": "checksum160"
        },
        {
          "name": "balance",
          "type": "float32"
        }
      ]
    }
  • Action parameter in unmapstation

    {
      "name": "unmapstation",
      "base": "",
      "fields": [
        {
          "name": "station",
          "type": "name"
        },
        {
          "name": "contract_n",
          "type": "name"
        }
      ]
    }