Technical Reference
ZAOINTERFACE
Source Revision 0x1413a151…beb3fe
| Property | Value |
|---|---|
| Source Revision | 0x1413a1516873d226b183d48ef7268fdc70e878cdb88dc0c19df3021cadbeb3fe |
| Source URL | https://raw.githubusercontent.com/busytoby/atropa_pulsechain/199528ce4edf4c8f8d17d8a70a012c0a30af8071/solidity/dysnomia/interfaces/16b_zaointerface.sol |
| Source commit | 199528ce4edf4c8f8d17d8a70a012c0a30af8071 |
| Source Status | Archived source snapshot; this does not establish deployed bytecode equivalence. |
| Compiler | solc 0.8.21; optimizer enabled with 200 runs |
| Compiler Configuration | {"evmVersion":"compiler-default","optimizer":{"enabled":true,"runs":200},"version":"0.8.21+commit.d9974bed.Linux.g++"} |
| Compilation Closure Hash | 0x272d49cfcfea34abacba9096cbe5895042c519f5fddd5326e55f64816688669a |
| Compilation Closure Files | 24 |
| Hash Generated | 2026-08-22T00:06:01Z |
Overview
Section titled “Overview”- Kind: Interface
- License: Sharia
- Solidity: ^0.8.21
- Source:
solidity/dysnomia/interfaces/16b_zaointerface.sol
Inheritance Chain (C3 Linearized)
Section titled “Inheritance Chain (C3 Linearized)”No base contracts; this contract has no parents.
Immediate Parents
Section titled “Immediate Parents”None (root of its hierarchy).
Functions
Section titled “Functions”External & Public
Section titled “External & Public”Rename
Section titled “Rename”Renamefunction
function Rename(string memory newName, string memory newSymbol) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: string memory newName, string memory newSymbol
GetMarketRate
Section titled “GetMarketRate”GetMarketRatefunction
function GetMarketRate(address _a) external view returns (uint256)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Parameters: address _a
- Returns: uint256
Purchase
Section titled “Purchase”Purchasefunction
function Purchase(address _t, uint256 _a) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address _t, uint256 _a
Redeem
Section titled “Redeem”Redeemfunction
function Redeem(address _t, uint256 _a) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address _t, uint256 _a
namefunction
function name() external view returns (string memory)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Returns: string memory
symbol
Section titled “symbol”symbolfunction
function symbol() external view returns (string memory)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Returns: string memory
decimals
Section titled “decimals”decimalsfunction
function decimals() external view returns (uint8)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Returns: uint8
totalSupply
Section titled “totalSupply”totalSupplyfunction
function totalSupply() external view returns (uint256)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Returns: uint256
balanceOf
Section titled “balanceOf”balanceOffunction
function balanceOf(address account) external view returns (uint256)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Parameters: address account
- Returns: uint256
transfer
Section titled “transfer”transferfunction
function transfer(address to, uint256 value) external returns (bool)- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address to, uint256 value
- Returns: bool
allowance
Section titled “allowance”allowancefunction
function allowance(address owner, address spender) external view returns (uint256)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Parameters: address owner, address spender
- Returns: uint256
approve
Section titled “approve”approvefunction
function approve(address spender, uint256 value) external returns (bool)- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address spender, uint256 value
- Returns: bool
transferFrom
Section titled “transferFrom”transferFromfunction
function transferFrom(address from, address to, uint256 value) external returns (bool)- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address from, address to, uint256 value
- Returns: bool
addOwner
Section titled “addOwner”addOwnerfunction
function addOwner(address newOwner) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address newOwner
renounceOwnership
Section titled “renounceOwnership”renounceOwnershipfunction
function renounceOwnership(address toRemove) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address toRemove
ownerfunction
function owner(address cOwner) external view returns (bool)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Parameters: address cOwner
- Returns: bool
mintToCap
Section titled “mintToCap”mintToCapfunction
function mintToCap() external- Visibility: external
- Body: abstract / interface function — no implementation
Typefunction
function Type() external view returns (string memory)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Returns: string memory
VoidQing
Section titled “VoidQing”VoidQingfunction
function VoidQing() external view returns (QING)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Returns: QING
AddLibraryOwner
Section titled “AddLibraryOwner”AddLibraryOwnerfunction
function AddLibraryOwner(string memory what) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: string memory what
SetQinEntropy
Section titled “SetQinEntropy”SetQinEntropyfunction
function SetQinEntropy(address who, uint64 value) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address who, uint64 value
GetQinEntropy
Section titled “GetQinEntropy”GetQinEntropyfunction
function GetQinEntropy(address who) external view returns (uint64)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Parameters: address who
- Returns: uint64
GetPlayerQin
Section titled “GetPlayerQin”GetPlayerQinfunction
function GetPlayerQin(address who) external view returns (address)- Visibility: external
- State Mutability: view
- Body: abstract / interface function — no implementation
- Parameters: address who
- Returns: address
Register
Section titled “Register”Registerfunction
function Register(address UserToken) external returns (QININTERFACE Beta)- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: address UserToken
- Returns: QININTERFACE Beta
Movefunction
function Move(string memory toQing) external- Visibility: external
- Body: abstract / interface function — no implementation
- Parameters: string memory toQing
Compiled ABI
Section titled “Compiled ABI”The compiled ABI below is produced by solc 0.8.21 from the exact source bytes recorded in Source details. Consumers can paste it directly into ethers/web3/viem.
Click to expand JSON ABI
[ { "inputs": [ { "internalType": "string", "name": "what", "type": "string" } ], "name": "AddLibraryOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_a", "type": "address" } ], "name": "GetMarketRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "who", "type": "address" } ], "name": "GetPlayerQin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "who", "type": "address" } ], "name": "GetQinEntropy", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "toQing", "type": "string" } ], "name": "Move", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_t", "type": "address" }, { "internalType": "uint256", "name": "_a", "type": "uint256" } ], "name": "Purchase", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_t", "type": "address" }, { "internalType": "uint256", "name": "_a", "type": "uint256" } ], "name": "Redeem", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "UserToken", "type": "address" } ], "name": "Register", "outputs": [ { "internalType": "contract QININTERFACE", "name": "Beta", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "newName", "type": "string" }, { "internalType": "string", "name": "newSymbol", "type": "string" } ], "name": "Rename", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "who", "type": "address" }, { "internalType": "uint64", "name": "value", "type": "uint64" } ], "name": "SetQinEntropy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "Type", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VoidQing", "outputs": [ { "internalType": "contract QING", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "addOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mintToCap", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "cOwner", "type": "address" } ], "name": "owner", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "toRemove", "type": "address" } ], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }]