Precompiled Contracts
KiiChain boasts a sophisticated framework of precompiled smart contracts meticulously crafted to harmonize with the Cosmos SDK functionalities, bolstering the network's efficiency and adaptability.
KiiChain Precompiled Contracts
Contract Name
Contract Address
Description
// exchange your KII for sKII
function buySkii() external payable
// exchange your sKII for KII
function sellSkii(uint256 amount) external[
{
"inputs": [],
"name": "bankContractAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "buySkii",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "sellSkii",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
] Last updated