Technical Reference

TSUAN

Source updated:
Last updated:
Source Revision 0x63fddb43…5adea7
Property Value
Source Revision 0x63fddb43a809c8ecc750d887ae3c8abdfbcb62736514ee760483d2aa605adea7
Source URL https://raw.githubusercontent.com/busytoby/atropa_pulsechain/e6dbfadae1be24692c30400362d879ae2d1de7fa/solidity/dysnomia/interfaces/18b_tsuaninterface.sol
Source commit e6dbfadae1be24692c30400362d879ae2d1de7fa
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 0x373b1a39aedc26fdee91ee1c8129efcb988d1b741cf16c88882e82d39ec7f624
Compilation Closure Files 26
Hash Generated 2026-08-22T00:06:01Z
  • Kind: Interface
  • License: Sharia
  • Solidity: ^0.8.21
  • Source: solidity/dysnomia/interfaces/18b_tsuaninterface.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
Zaofunction
function Zao() external view returns (ZAOINTERFACE)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: ZAOINTERFACE
VAIfunction
function VAI() external view returns (LIBCONJURE)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Returns: LIBCONJURE
acceptLibraryUpdatefunction
function acceptLibraryUpdate(string memory lib) external
  • Visibility: external
  • Body: abstract / interface function — no implementation
  • Parameters: string memory lib
KnownEnchantmentCountfunction
function KnownEnchantmentCount(address QiAddress) external view returns (uint256)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Parameters: address QiAddress
  • Returns: uint256
GetEnchantmentfunction
function GetEnchantment(address QiAddress, string memory Noun) external view returns (uint64[3] memory)
  • Visibility: external
  • State Mutability: view
  • Body: abstract / interface function — no implementation
  • Parameters: address QiAddress, string memory Noun
  • Returns: uint64[3] memory
Trainfunction
function Train(address QiAddress, string memory IntendedNoun) external
  • Visibility: external
  • Body: abstract / interface function — no implementation
  • Parameters: address QiAddress, string memory IntendedNoun

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": "QiAddress",
"type": "address"
},
{
"internalType": "string",
"name": "Noun",
"type": "string"
}
],
"name": "GetEnchantment",
"outputs": [
{
"internalType": "uint64[3]",
"name": "",
"type": "uint64[3]"
}
],
"stateMutability": "view",
"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": "QiAddress",
"type": "address"
}
],
"name": "KnownEnchantmentCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"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": [
{
"internalType": "address",
"name": "QiAddress",
"type": "address"
},
{
"internalType": "string",
"name": "IntendedNoun",
"type": "string"
}
],
"name": "Train",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "Type",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "VAI",
"outputs": [
{
"internalType": "contract LIBCONJURE",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "Zao",
"outputs": [
{
"internalType": "contract ZAOINTERFACE",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "lib",
"type": "string"
}
],
"name": "acceptLibraryUpdate",
"outputs": [],
"stateMutability": "nonpayable",
"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"
}
]