Files
smom-dbis-138/artifacts/contracts/bridge/trustless/integration/IISOCurrencyManager.sol/IISOCurrencyManager.json
2026-03-02 12:14:09 -08:00

126 lines
2.6 KiB
JSON

{
"_format": "hh-sol-artifact-1",
"contractName": "IISOCurrencyManager",
"sourceName": "contracts/bridge/trustless/integration/IISOCurrencyManager.sol",
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "fromCurrency",
"type": "string"
},
{
"internalType": "string",
"name": "toCurrency",
"type": "string"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "convertViaXAU",
"outputs": [
{
"internalType": "uint256",
"name": "targetAmount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAllSupportedCurrencies",
"outputs": [
{
"internalType": "string[]",
"name": "",
"type": "string[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "currencyCode",
"type": "string"
}
],
"name": "getCurrencyAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "fromCurrency",
"type": "string"
},
{
"internalType": "string",
"name": "toCurrency",
"type": "string"
}
],
"name": "getCurrencyRate",
"outputs": [
{
"internalType": "uint256",
"name": "rate",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "currencyCode",
"type": "string"
},
{
"internalType": "address",
"name": "tokenAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "xauRate",
"type": "uint256"
}
],
"name": "registerCurrency",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}