Technical Reference

QININTERFACE

Source updated:
Last updated:
Source Revision 0xdecc817d…8e096a
Property Value
Source Revision 0xdecc817d893ad14a19b57fdbf8c41539f98a0c83638cc3745ca2ab2dab8e096a
Source URL https://raw.githubusercontent.com/busytoby/atropa_pulsechain/97cb1baab7c2fdfa371ff503b892e0427003eaa1/solidity/dysnomia/interfaces/15b_qininterface.sol
Source commit 97cb1baab7c2fdfa371ff503b892e0427003eaa1
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 0x422e3ae417489ee1c46d6f33a03acc25e01b9d753f8e68e1f71d8ec65cde90b9
Compilation Closure Files 23
Hash Generated 2026-08-22T00:06:01Z
  • Kind: Interface
  • License: Sharia
  • Solidity: ^0.8.21
  • Source: solidity/dysnomia/interfaces/15b_qininterface.sol

No base contracts; this contract has no parents.

None (root of its hierarchy).

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
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
Purchasefunction
function Purchase(address _t, uint256 _a) external
  • Visibility: external
  • Body: abstract / interface function — no implementation
  • Parameters: address _t, uint256 _a
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
symbolfunction
function symbol() external view returns (string memory)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: string memory
decimalsfunction
function decimals() external view returns (uint8)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: uint8
totalSupplyfunction
function totalSupply() external view returns (uint256)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: uint256
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
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
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
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
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
addOwnerfunction
function addOwner(address newOwner) external
  • Visibility: external
  • Body: abstract / interface function — no implementation
  • Parameters: address newOwner
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
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
Locationfunction
function Location() external view returns (QING)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: QING
Altfunction
function Alt() external view returns (LAU)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: LAU
Entropyfunction
function Entropy() external view returns (uint64)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: uint64
AddMarketRatefunction
function AddMarketRate(address _a, uint256 _r) external
  • Visibility: external
  • Body: abstract / interface function — no implementation
  • Parameters: address _a, uint256 _r
SelectAltfunction
function SelectAlt(address UserToken) external
  • Visibility: external
  • Body: abstract / interface function — no implementation
  • Parameters: address UserToken
SUNfunction
function SUN() external view returns (LIBEncrypt)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: LIBEncrypt

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": "address",
"name": "_a",
"type": "address"
},
{
"internalType": "uint256",
"name": "_r",
"type": "uint256"
}
],
"name": "AddMarketRate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "Alt",
"outputs": [
{
"internalType": "contract LAU",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "Entropy",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_a",
"type": "address"
}
],
"name": "GetMarketRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "Location",
"outputs": [
{
"internalType": "contract QING",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"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": "string",
"name": "newName",
"type": "string"
},
{
"internalType": "string",
"name": "newSymbol",
"type": "string"
}
],
"name": "Rename",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "SUN",
"outputs": [
{
"internalType": "contract LIBEncrypt",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "UserToken",
"type": "address"
}
],
"name": "SelectAlt",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "Type",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"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"
}
]