Smart Contracts (Testnet)

Module: BictoryCnsPriceOracle
back to overview
BictoryCnsPriceOracle
Methods: 3
Instances: 1
Initialization

Parameters
{
  "domain_pricing": {
    "Enum": [
      {
        "Fixed": [
          {
            "Enum": [
              {
                "Limited": []
              },
              {
                "Amount": [
                  "<Amount in microCCD>"
                ]
              }
            ]
          }
        ]
      },
      {
        "Scaling": [
          {
            "long": {
              "Enum": [
                {
                  "Limited": []
                },
                {
                  "Amount": [
                    "<Amount in microCCD>"
                  ]
                }
              ]
            },
            "mid": [
              {
                "Enum": [
                  {
                    "Limited": []
                  },
                  {
                    "Amount": [
                      "<Amount in microCCD>"
                    ]
                  }
                ]
              }
            ],
            "short": {
              "Enum": [
                {
                  "Limited": []
                },
                {
                  "Amount": [
                    "<Amount in microCCD>"
                  ]
                }
              ]
            },
            "short_max_length": "<UInt16>"
          }
        ]
      }
    ]
  },
  "subdomain_pricing": {
    "Enum": [
      {
        "Fixed": [
          {
            "Enum": [
              {
                "Limited": []
              },
              {
                "Amount": [
                  "<Amount in microCCD>"
                ]
              }
            ]
          }
        ]
      },
      {
        "Scaling": [
          {
            "long": {
              "Enum": [
                {
                  "Limited": []
                },
                {
                  "Amount": [
                    "<Amount in microCCD>"
                  ]
                }
              ]
            },
            "mid": [
              {
                "Enum": [
                  {
                    "Limited": []
                  },
                  {
                    "Amount": [
                      "<Amount in microCCD>"
                    ]
                  }
                ]
              }
            ],
            "short": {
              "Enum": [
                {
                  "Limited": []
                },
                {
                  "Amount": [
                    "<Amount in microCCD>"
                  ]
                }
              ]
            },
            "short_max_length": "<UInt16>"
          }
        ]
      }
    ]
  }
}
Errors
None
Event
None
Methods

Parameters
{
  "domain_kind": {
    "Enum": [
      {
        "Domain": []
      },
      {
        "Subdomain": []
      }
    ]
  },
  "pricing": {
    "Enum": [
      {
        "Fixed": [
          {
            "Enum": [
              {
                "Limited": []
              },
              {
                "Amount": [
                  "<Amount in microCCD>"
                ]
              }
            ]
          }
        ]
      },
      {
        "Scaling": [
          {
            "long": {
              "Enum": [
                {
                  "Limited": []
                },
                {
                  "Amount": [
                    "<Amount in microCCD>"
                  ]
                }
              ]
            },
            "mid": [
              {
                "Enum": [
                  {
                    "Limited": []
                  },
                  {
                    "Amount": [
                      "<Amount in microCCD>"
                    ]
                  }
                ]
              }
            ],
            "short": {
              "Enum": [
                {
                  "Limited": []
                },
                {
                  "Amount": [
                    "<Amount in microCCD>"
                  ]
                }
              ]
            },
            "short_max_length": "<UInt16>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "domain_kind": {
    "Enum": [
      {
        "Domain": []
      },
      {
        "Subdomain": []
      }
    ]
  },
  "length": "<UInt16>"
}
Errors
None
Return
{
  "result": {
    "Enum": [
      {
        "Limited": []
      },
      {
        "Amount": [
          "<Amount in microCCD>"
        ]
      }
    ]
  }
}

Parameters
{
  "address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "field": {
    "Enum": [
      {
        "Maintainer": []
      },
      {
        "Admin": []
      }
    ]
  },
  "kind": {
    "Enum": [
      {
        "Remove": []
      },
      {
        "Add": []
      }
    ]
  }
}
Errors
None
Return
None
Address
🗎<417,0>


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership