181 lines
3.8 KiB
JSON
181 lines
3.8 KiB
JSON
{
|
|
"_format": "hh-sol-artifact-1",
|
|
"contractName": "IComplianceGuard",
|
|
"sourceName": "contracts/iso4217w/interfaces/IComplianceGuard.sol",
|
|
"abi": [
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "bytes32",
|
|
"name": "checkType",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "bytes32",
|
|
"name": "reasonCode",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "ComplianceCheckFailed",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "bytes32",
|
|
"name": "checkType",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "ComplianceCheckPassed",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "isISO4217Compliant",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "isISO4217",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "reserve",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "supply",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "isReserveSufficient",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "isSufficient",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "currentSupply",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "verifiedReserve",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "validateMint",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "isValid",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "reasonCode",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "reserve",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "supply",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "validateMoneyMultiplier",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "isValid",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "violatesGRUIsolation",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "violatesIsolation",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"bytecode": "0x",
|
|
"deployedBytecode": "0x",
|
|
"linkReferences": {},
|
|
"deployedLinkReferences": {}
|
|
}
|