UNPKG

@gooddollar/goodprotocol

Version:
70 lines (69 loc) 3.64 kB
{ "_format": "hh-sol-artifact-1", "contractName": "FeesFormulaMock", "sourceName": "contracts/mocks/FeesFormularMock.sol", "abi": [ { "inputs": [ { "internalType": "uint256", "name": "feePerMillion_", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "feePerMillion", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" } ], "name": "getTxFees", "outputs": [ { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "bool", "name": "senderPays", "type": "bool" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x60a060405234801561001057600080fd5b5060405161028638038061028683398101604081905261002f9161008e565b620f42408111156100865760405162461bcd60e51b815260206004820152601460248201527f66656520686967686572207468616e2031303025000000000000000000000000604482015260640160405180910390fd5b6080526100a7565b6000602082840312156100a057600080fd5b5051919050565b6080516101bf6100c7600039600081816040015260a901526101bf6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806309d52ae31461003b5780633ddaa80614610075575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b610088610083366004610100565b61009d565b6040805192835290151560208301520161006c565b600080620f42406100ce7f00000000000000000000000000000000000000000000000000000000000000008761013c565b6100d89190610167565b95600195509350505050565b80356001600160a01b03811681146100fb57600080fd5b919050565b60008060006060848603121561011557600080fd5b83359250610125602085016100e4565b9150610133604085016100e4565b90509250925092565b808202811582820484141761016157634e487b7160e01b600052601160045260246000fd5b92915050565b60008261018457634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212205bd6ab6b4d829387477b2893a9398f4620ebc5bd35ef249e8f516d824cb5b12a64736f6c63430008130033", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806309d52ae31461003b5780633ddaa80614610075575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b610088610083366004610100565b61009d565b6040805192835290151560208301520161006c565b600080620f42406100ce7f00000000000000000000000000000000000000000000000000000000000000008761013c565b6100d89190610167565b95600195509350505050565b80356001600160a01b03811681146100fb57600080fd5b919050565b60008060006060848603121561011557600080fd5b83359250610125602085016100e4565b9150610133604085016100e4565b90509250925092565b808202811582820484141761016157634e487b7160e01b600052601160045260246000fd5b92915050565b60008261018457634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212205bd6ab6b4d829387477b2893a9398f4620ebc5bd35ef249e8f516d824cb5b12a64736f6c63430008130033", "linkReferences": {}, "deployedLinkReferences": {} }