From f1c442ac11e3c341d439c047c53ede2d63709566 Mon Sep 17 00:00:00 2001 From: Francois Hardrouyere Date: Tue, 3 Sep 2024 09:28:58 +0200 Subject: [PATCH] update bindings --- abi-bindings/go/EventImporter/EventImporter.go | 2 +- abi-bindings/go/IEventImporter/IEventImporter.go | 2 +- abi-bindings/go/PriceFeedImporter/PriceFeedImporter.go | 2 +- .../go/mocks/MockPriceFeedAggregator/MockPriceFeedAggregator.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/abi-bindings/go/EventImporter/EventImporter.go b/abi-bindings/go/EventImporter/EventImporter.go index 99df7f5..7438ef3 100644 --- a/abi-bindings/go/EventImporter/EventImporter.go +++ b/abi-bindings/go/EventImporter/EventImporter.go @@ -31,7 +31,7 @@ var ( // EventImporterMetaData contains all meta data concerning the EventImporter contract. var EventImporterMetaData = &bind.MetaData{ - ABI: "[{\"type\":\"function\",\"name\":\"importEvent\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHeader\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"txIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"receiptProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"warpMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIWarpMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"EventImported\",\"inputs\":[{\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"sourceBlockHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"loggerAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"txIndex\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]", + ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sourceBlockHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"loggerAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"}],\"name\":\"EventImported\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"blockHeader\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"receiptProof\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"}],\"name\":\"importEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"warpMessenger\",\"outputs\":[{\"internalType\":\"contractIWarpMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", } // EventImporterABI is the input ABI used to generate the binding from. diff --git a/abi-bindings/go/IEventImporter/IEventImporter.go b/abi-bindings/go/IEventImporter/IEventImporter.go index 4ad19d1..5b2c34c 100644 --- a/abi-bindings/go/IEventImporter/IEventImporter.go +++ b/abi-bindings/go/IEventImporter/IEventImporter.go @@ -31,7 +31,7 @@ var ( // IEventImporterMetaData contains all meta data concerning the IEventImporter contract. var IEventImporterMetaData = &bind.MetaData{ - ABI: "[{\"type\":\"function\",\"name\":\"importEvent\",\"inputs\":[{\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHeader\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"txIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"receiptProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"EventImported\",\"inputs\":[{\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"sourceBlockHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"loggerAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"txIndex\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]", + ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sourceBlockHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"loggerAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"}],\"name\":\"EventImported\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"blockHeader\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"receiptProof\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"}],\"name\":\"importEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", } // IEventImporterABI is the input ABI used to generate the binding from. diff --git a/abi-bindings/go/PriceFeedImporter/PriceFeedImporter.go b/abi-bindings/go/PriceFeedImporter/PriceFeedImporter.go index c7733d2..bad2b13 100644 --- a/abi-bindings/go/PriceFeedImporter/PriceFeedImporter.go +++ b/abi-bindings/go/PriceFeedImporter/PriceFeedImporter.go @@ -31,7 +31,7 @@ var ( // PriceFeedImporterMetaData contains all meta data concerning the PriceFeedImporter contract. var PriceFeedImporterMetaData = &bind.MetaData{ - ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"sourceBlockchainID_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"sourceOracleAggregator_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"decimals_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"description_\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"version_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"ANSWER_UPDATED_EVENT_SIGNATURE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"description\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoundData\",\"inputs\":[{\"name\":\"_roundID\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"},{\"name\":\"\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"importEvent\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHeader\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"txIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"receiptProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"latestRoundData\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"},{\"name\":\"\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestRoundID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestSourceBlockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestSourceLogIndex\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestSourceTxIndex\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"rounds\",\"inputs\":[{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"outputs\":[{\"name\":\"answer\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"updatedAt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sourceBlockchainID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sourceOracleAggregator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"warpMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIWarpMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"AnswerUpdated\",\"inputs\":[{\"name\":\"currentAnswer\",\"type\":\"int256\",\"indexed\":false,\"internalType\":\"int256\"},{\"name\":\"roundID\",\"type\":\"uint80\",\"indexed\":false,\"internalType\":\"uint80\"},{\"name\":\"updatedAt\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EventImported\",\"inputs\":[{\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"sourceBlockHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"loggerAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"txIndex\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]", + ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"sourceBlockchainID_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sourceOracleAggregator_\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"description_\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"version_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"currentAnswer\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint80\",\"name\":\"roundID\",\"type\":\"uint80\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"}],\"name\":\"AnswerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sourceBlockchainID\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sourceBlockHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"loggerAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"}],\"name\":\"EventImported\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ANSWER_UPDATED_EVENT_SIGNATURE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"_roundID\",\"type\":\"uint80\"}],\"name\":\"getRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"blockHeader\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"receiptProof\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"}],\"name\":\"importEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundID\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestSourceBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestSourceLogIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestSourceTxIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"}],\"name\":\"rounds\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sourceBlockchainID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sourceOracleAggregator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"warpMessenger\",\"outputs\":[{\"internalType\":\"contractIWarpMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Bin: "0x6101006040523480156200001257600080fd5b5060405162003344380380620033448339810160408190526200003591620000a7565b600080546001600160a01b03191673020000000000000000000000000000000000000517905560c08590526001600160a01b03841660e05260ff831660805260016200008283826200025b565b5060a052506200032792505050565b634e487b7160e01b600052604160045260246000fd5b600080600080600060a08688031215620000c057600080fd5b8551602080880151919650906001600160a01b0381168114620000e257600080fd5b604088015190955060ff81168114620000fa57600080fd5b60608801519094506001600160401b03808211156200011857600080fd5b818901915089601f8301126200012d57600080fd5b81518181111562000142576200014262000091565b604051601f8201601f19908116603f011681019083821181831017156200016d576200016d62000091565b816040528281528c868487010111156200018657600080fd5b600093505b82841015620001aa57848401860151818501870152928501926200018b565b6000868483010152809750505050505050608086015190509295509295909350565b600181811c90821680620001e157607f821691505b6020821081036200020257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025657600081815260208120601f850160051c81016020861015620002315750805b601f850160051c820191505b8181101562000252578281556001016200023d565b5050505b505050565b81516001600160401b0381111562000277576200027762000091565b6200028f81620002888454620001cc565b8462000208565b602080601f831160018114620002c75760008415620002ae5750858301515b600019600386901b1c1916600185901b17855562000252565b600085815260208120601f198616915b82811015620002f857888601518255948401946001909101908401620002d7565b5085821015620003175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051612fd56200036f600039600081816102b301526111af0152600081816101570152611149015260006101fc015260006101ba0152612fd56000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063c9572e1411610066578063c9572e1414610283578063ce2723fc146102ae578063f76339dc146102d5578063feaf968c1461030057600080fd5b806354fd4d50146101f75780637284e4161461021e5780638716cde5146102335780639a6fc8f51461023c57600080fd5b806329b7b3fd116100d357806329b7b3fd146101525780632ede662f14610179578063313ce567146101b55780634af37a11146101ee57600080fd5b8063042a7c97146100fa57806308fd4323146101345780630a8bfac91461013d575b600080fd5b6101217f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f81565b6040519081526020015b60405180910390f35b61012160065481565b61015061014b366004612a72565b610308565b005b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6101a0610187366004612b2b565b6003602052600090815260409020805460019091015482565b6040805192835260208301919091520161012b565b6101dc7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161012b565b61012160055481565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6102266106f7565b60405161012b9190612b54565b61012160045481565b61024f61024a366004612b2b565b610785565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a00161012b565b600054610296906001600160a01b031681565b6040516001600160a01b03909116815260200161012b565b6102967f000000000000000000000000000000000000000000000000000000000000000081565b6002546102e8906001600160501b031681565b6040516001600160501b03909116815260200161012b565b61024f610810565b6000805460405163ce7f592960e01b81526004810183905282916001600160a01b03169063ce7f592990602401606060405180830381865afa158015610352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103769190612be8565b91509150806103c45760405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c840aec2e4e084d8dec6d690c2e6d605b1b60448201526064015b60405180910390fd5b816020015188886040516103d9929190612c5f565b6040518091039020146104245760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b210313637b1b5a432b0b232b960691b60448201526064016103bb565b6000806104668a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061084192505050565b60408051600180825281830190925292945090925060009190816020015b60608152602001906001900390816104845790505090506104a489610924565b816000815181106104b7576104b7612c6f565b602090810291909101015260006104d8836104d28a8c612c85565b846109bf565b9050805160011461053e5760405162461bcd60e51b815260206004820152602a60248201527f496e76616c6964206e756d626572206f6620726573756c747320696e2072656360448201526932b4b83a10383937b7b360b11b60648201526084016103bb565b60008160008151811061055357610553612c6f565b60200260200101516020015151116105a55760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b2103932b1b2b4b83a10383937b7b360591b60448201526064016103bb565b60006105d66105d1836000815181106105c0576105c0612c6f565b602002602001015160200151610e50565b610e7d565b905080608001515188106106205760405162461bcd60e51b8152602060048201526011602482015270092dcecc2d8d2c840d8dece40d2dcc8caf607b1b60448201526064016103bb565b6106706040518060a00160405280896000015181526020018781526020018d81526020018a815260200183608001518b8151811061066057610660612c6f565b6020026020010151815250611143565b8060800151888151811061068657610686612c6f565b6020026020010151600001516001600160a01b0316876020015188600001517ffdb2f8239033f2b8c1122b2a4b6af55bb0b0b05e4050b5ecd9eafa153d3cd41d8e8c6040516106df929190918252602082015260400190565b60405180910390a45050505050505050505050505050565b6001805461070490612d59565b80601f016020809104026020016040519081016040528092919081815260200182805461073090612d59565b801561077d5780601f106107525761010080835404028352916020019161077d565b820191906000526020600020905b81548152906001019060200180831161076057829003601f168201915b505050505081565b6001600160501b03811660009081526003602090815260408083208151808301909252805482526001015491810182905282918291829182919082036107f75760405162461bcd60e51b81526020600482015260076024820152664e6f206461746160c81b60448201526064016103bb565b8051602090910151969790969550859450879350915050565b6002546000908190819081908190610830906001600160501b0316610785565b945094509450945094509091929394565b600080600061085761085285610e50565b611592565b9050600f815110156108c25760405162461bcd60e51b815260206004820152602e60248201527f496e76616c6964206e756d626572206f6620524c5020656c656d656e7473206960448201526d3710313637b1b5903432b0b232b960911b60648201526084016103bb565b60006108e7826008815181106108da576108da612c6f565b60200260200101516116ad565b9050600061090e8360058151811061090157610901612c6f565b60200260200101516116fb565b61091790612d8d565b9196919550909350505050565b60608160000361094b5750506040805180820190915260018152600160ff1b602082015290565b607f82111561098f5760405162461bcd60e51b815260206004820152601060248201526f092dcecc2d8d2c840e8f040d2dcc8caf60831b60448201526064016103bb565b6040516001600160f81b031960f884901b1660208201526021016040516020818303038152906040529050919050565b6060600082516001600160401b038111156109dc576109dc612ba2565b604051908082528060200260200182016040528015610a2157816020015b60408051808201909152606080825260208201528152602001906001900390816109fa5790505b509050600084516001600160401b03811115610a3f57610a3f612ba2565b604051908082528060200260200182016040528015610a8557816020015b604080518082019091526000815260606020820152815260200190600190039081610a5d5790505b50905060005b8551811015610b12576040518060400160405280878381518110610ab157610ab1612c6f565b6020026020010151805190602001208152602001878381518110610ad757610ad7612c6f565b6020026020010151815250828281518110610af457610af4612c6f565b60200260200101819052508080610b0a90612dc7565b915050610a8b565b5060005b8451811015610e4557848181518110610b3157610b31612c6f565b6020026020010151838281518110610b4b57610b4b612c6f565b60200260200101516000018190525060006040518060400160405280878481518110610b7957610b79612c6f565b60200260200101518152602001600081525090506000610ba1610b9c858b611778565b611825565b905060015b8015610e2f576040805160808101825260008082526020820181905291810191909152606080820152610bd88361197a565b15610ca6576000610be88461198f565b9050600060028660200151610bfd9190612df6565b15610c235760028660200151610c139190612e0a565b610c1e906001612e1e565b610c34565b60028660200151610c349190612e0a565b90506040518060400160405280610c4f886000015184611a39565b815260200160008152509550610c69826000015187611b03565b15610c9e57610c7c888360200151611b30565b898881518110610c8e57610c8e612c6f565b6020026020010151602001819052505b505050610e2f565b60c083015115610d44576000610cbb84611b79565b9050610ccb858260000151611c9d565b15610d37576000610cdf8260000151611cba565b8660200151610cee9190612e1e565b90506040518060400160405280610d158860000151600285610d109190612e0a565b611a39565b8152602001610d25600284612df6565b81525095508160200151925050610d3e565b5050610e2f565b50610e0c565b60e083015115610dff576000610d5984611cdd565b9050610d6485611ee5565b15610daf578051511515600103610d3757610d8787826000015160200151611b30565b888781518110610d9957610d99612c6f565b6020026020010151602001819052505050610e2f565b60008160200151610dc1876000611ef7565b60108110610dd157610dd1612c6f565b602002015180519091501515600103610c9e57610def866001611f81565b9550806020015192505050610e0c565b825115610e0c5750610e2f565b610e19610b9c8783611b30565b9250508080610e2790612dc7565b915050610ba6565b5050508080610e3d90612dc7565b915050610b16565b509095945050505050565b60408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b6040805160a08101825260008082526060602083018190529282015281810182905260808101919091526000610eb283611fc4565b610f6257506020820151805160001a906001821480610ed457508160ff166002145b610f2a5760405162461bcd60e51b815260206004820152602160248201527f496e76616c6964207478207479706520666f72206e6f6e2d6c656761637920746044820152600f60fb1b60648201526084016103bb565b604051806040016040528060018660000151610f469190612e31565b815260200185602001516001610f5c9190612e1e565b90529350505b6000610f6d84611592565b90508051600414610fd25760405162461bcd60e51b815260206004820152602960248201527f496e76616c6964206e756d626572206f6620524c5020656c656d656e747320696044820152681b881c9958d95a5c1d60ba1b60648201526084016103bb565b6040805160a0810182526060602082018190526000928201839052808201819052608082015260ff84168152825190916110159184919061090157610901612c6f565b8160200181905250611033826001815181106108da576108da612c6f565b6001600160401b03166040820152815161105a908390600290811061090157610901612c6f565b816060018190525060006110878360038151811061107a5761107a612c6f565b6020026020010151611592565b905080516001600160401b038111156110a2576110a2612ba2565b6040519080825280602002602001820160405280156110db57816020015b6110c86128bf565b8152602001906001900390816110c05790505b50608083015260005b8151811015610e455761110f82828151811061110257611102612c6f565b6020026020010151611fff565b8360800151828151811061112557611125612c6f565b6020026020010181905250808061113b90612dc7565b9150506110e4565b805181907f0000000000000000000000000000000000000000000000000000000000000000146111ad5760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908189b1bd8dad8da185a5b881251605a1b60448201526064016103bb565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168160800151600001516001600160a01b03161461122f5760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964206c6f67676572206164647265737360501b60448201526064016103bb565b818060800151602001515160031461127e5760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964206c6f6720746f7069637360701b60448201526064016103bb565b806080015160400151516020146112ca5760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964206c6f67206461746160801b60448201526064016103bb565b7f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f81608001516020015160008151811061130657611306612c6f565b60200260200101511461135b5760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206576656e74207369676e617475726500000000000000000060448201526064016103bb565b8260045481602001511015801561138657506004548160200151118061138657506005548160400151115b80156113b65750600454816020015111806113a657506005548160400151115b806113b657506006548160600151115b6113f05760405162461bcd60e51b815260206004820152600b60248201526a14dd185b1948195d995b9d60aa1b60448201526064016103bb565b600084608001516020015160028151811061140d5761140d612c6f565b60209081029190910101516002549091506001600160501b039081169082161180159061144457506002546001600160501b031615155b156114a45760405162461bcd60e51b815260206004820152602a60248201527f726f756e6449442073686f756c64206265206d6f6e6f746f6e6963616c6c7920604482015269696e6372656173696e6760b01b60648201526084016103bb565b60008560800151602001516001815181106114c1576114c1612c6f565b602002602001015160001c905060008660800151604001516114e290612d8d565b60408051808201825284815260208082018481526001600160501b0388166000818152600384528590208451815591516001909201919091556002805469ffffffffffffffffffff1916821790558b8201516004558b8401516005556060808d0151600655845188815292830191909152928101849052929350917f5b196ccf306f345de8745dffeaf185f4cafe74a334e2b2466d04c880071533b9910160405180910390a15050505050505050565b606061159d82611fc4565b6115a657600080fd5b60006115b183612190565b90506000816001600160401b038111156115cd576115cd612ba2565b60405190808252806020026020018201604052801561161257816020015b60408051808201909152600080825260208201528152602001906001900390816115eb5790505b5090506000611624856020015161220b565b85602001516116339190612e1e565b8251909150600090602001815b858110156116a1576116518461228c565b925060405180604001604052808481526020018581525085828151811061167a5761167a612c6f565b602090810291909101015261168f8385612e1e565b935061169a81612dc7565b9050611640565b50929695505050505050565b8051600090158015906116c257508151602110155b6116cb57600080fd5b6000806116d784612326565b8151919350915060208210156116f35760208290036101000a90045b949350505050565b805160609061170957600080fd5b60008061171584612326565b915091506000816001600160401b0381111561173357611733612ba2565b6040519080825280601f01601f19166020018201604052801561175d576020820181803683370190505b5090506020810161176f848285612360565b50949350505050565b606060005b83518110156117e2578284828151811061179957611799612c6f565b602002602001015160000151036117d0578381815181106117bc576117bc612c6f565b60200260200101516020015191505061181f565b806117da81612dc7565b91505061177d565b5060405162461bcd60e51b8152602060048201526011602482015270496e636f6d706c6574652050726f6f662160781b60448201526064016103bb565b92915050565b61182d6128e9565b6118356128e9565b600060405180604001604052808581526020016000815250905061188e846040518060400160405280602081526020017f56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218152506123e3565b1561189e57506001815292915050565b60006118ac61085286610e50565b805190915060008190036118c7575050600182525092915050565b806002036119215760006118e78360008151811061090157610901612c6f565b602081015190915060fc1c60028114806119015750806003145b15611912576001602087015261191a565b600160c08701525b505061196c565b8060110361193557600160e085015261196c565b60405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016103bb565b505061012082015292915050565b600081602001518061181f5750506040015190565b61199761294f565b61199f61294f565b60006119b661085285610120015160000151610e50565b905060006119d08260018151811061090157610901612c6f565b905060405180604001604052806119fd6119f68560008151811061090157610901612c6f565b6001612413565b81526000602091820181905291855260408051608081018252838152808301939093526001908301526060820192909252908301525092915050565b81516060906000611a4a8483612e31565b905083821015611a905760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016103bb565b606081158015611aaf5760405191506000825260208201604052611af9565b6040519150601f8316801560200281840101848101888315602002848c0101015b81831015611ae8578051835260209283019201611ad0565b5050848452601f01601f1916604052505b5095945050505050565b6000611b0e82611cba565b611b1784611cba565b148015611b295750611b298383611c9d565b9392505050565b6060816040015115611b475750606081015161181f565b815115611b6357611b5c838360200151611778565b905061181f565b5060408051602081019091526000815292915050565b611b8161294f565b611b8961294f565b6000611ba061085285610120015160000151610e50565b90506000611bba8260018151811061090157610901612c6f565b905060006004611bd68460008151811061090157610901612c6f565b600081518110611be857611be8612c6f565b602001015160f81c60f81b6001600160f81b031916901c60f81c60011690506040518060400160405280611c4a611c2b8660008151811061090157610901612c6f565b6002611c38866001612e44565b611c429190612e5d565b60ff16612413565b815260ff8316602091820152908552604080516080810190915260018152908101611c748461244b565b815260006020808301829052604080519283528282018152909201528501525091949350505050565b6000611ca882611cba565b611cb284846124b3565b149392505050565b600081602001516002836000015151611cd39190612e7f565b61181f9190612e31565b611ce56129a0565b611ced6129a0565b6000611d0461085285610120015160000151610e50565b9050611d0e6129bc565b60005b6010811015611e16576000611d3184838151811061090157610901612c6f565b90508051602014611d99576040805180820182526000808252825160808101845281815260208082018390528185018390528451928352828101909452606081019190915291810191909152838360108110611d8f57611d8f612c6f565b6020020152611e03565b6000611da48261244b565b60408051808201825260018082528251608081018452908152602080820185905260008285018190528451908152808201909452606082019390935291810191909152909150848460108110611dfc57611dfc612c6f565b6020020152505b5080611e0e81612dc7565b915050611d11565b50611e35611e308360108151811061090157610901612c6f565b612631565b15611e825760408051808201825260008082528251608081018452818152602080820183905281850183905284519283528281019094526060810191909152918101919091528352611ed9565b604051806040016040528060011515815260200160405180608001604052806000151581526020016000801b8152602001600115158152602001611ed28660108151811061090157610901612c6f565b9052905283525b60208301525092915050565b6000611ef082611cba565b1592915050565b6000806002838560200151611f0c9190612e1e565b611f169190612e0a565b905060006002848660200151611f2c9190612e1e565b611f369190612df6565b9050600085600001518381518110611f5057611f50612c6f565b016020015160f81c905060018214611f6f5760048160ff16901c611f74565b80600f165b60ff169695505050505050565b604080518082019091526060815260006020820152604051806040016040528084600001518152602001838560200151611fbb9190612e1e565b90529392505050565b80516000908103611fd757506000919050565b6020820151805160001a9060c0821015611ff5575060009392505050565b5060019392505050565b6120076128bf565b600061201283611592565b905080516003146120735760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964206e756d626572206f6620524c5020656c656d656e747320696044820152646e206c6f6760d81b60648201526084016103bb565b61207b6128bf565b61209e8260008151811061209157612091612c6f565b602002602001015161269c565b6001600160a01b0316815281516000906120c5908490600190811061107a5761107a612c6f565b905080516001600160401b038111156120e0576120e0612ba2565b604051908082528060200260200182016040528015612109578160200160208202803683370190505b50602083015260005b815181101561216c5761213082828151811061090157610901612c6f565b61213990612d8d565b8360200151828151811061214f5761214f612c6f565b60209081029190910101528061216481612dc7565b915050612112565b506121838360028151811061090157610901612c6f565b6040830152509392505050565b805160009081036121a357506000919050565b6000806121b3846020015161220b565b84602001516121c29190612e1e565b90506000846000015185602001516121da9190612e1e565b90505b808210156122025760006121f08361228c565b600194909401939290920191506121dd565b50909392505050565b8051600090811a60808110156122245750600092915050565b60b881108061223f575060c0811080159061223f575060f881105b1561224d5750600192915050565b60c081101561227a57612262600160b8612e96565b61226f9060ff1682612e31565b611b29906001612e1e565b612262600160f8612e96565b50919050565b80516000908190811a60808110156122a8575060019392505050565b60b88110156122bd57607e198101915061231f565b60c08110156122ea5760b78103600185019450806020036101000a8551046001820181019350505061231f565b60f88110156122ff5760be198101915061231f565b60f78103600185019450806020036101000a855104600182018101935050505b5092915050565b6000806000612338846020015161220b565b9050600081856020015161234c9190612e1e565b905060008286600001516109179190612e31565b8060000361236d57505050565b602081106123a55782518252612384602084612e1e565b9250612391602083612e1e565b915061239e602082612e31565b905061236d565b80156123de57600060016123ba836020612e31565b6123c690610100612f93565b6123d09190612e31565b845184518216911916178352505b505050565b600081518351146123f65750600061181f565b825160208381018281209186019283209091145b95945050505050565b6060825182111561242357600080fd5b60008284516124329190612e31565b90506020840161240a6124458583612e1e565b836126b6565b60006020825110156124ab5760405162461bcd60e51b8152602060048201526024808201527f42797465733a3a20746f427974657333323a206461746120697320746f20736860448201526337b93a1760e11b60648201526084016103bb565b506020015190565b600080600284602001516124c79190612df6565b90506000600284602001516124dc9190612df6565b90508082036125d4576000600286602001516124f89190612e0a565b905060006002866020015161250d9190612e0a565b90506000841561258d57865180518390811061252b5761252b612c6f565b016020015188518051600f60f81b909216918590811061254d5761254d612c6f565b0160200151600f60f81b161461256b5760009550505050505061181f565b61257483612dc7565b925061257f82612dc7565b915061258a81612dc7565b90505b600061259d896000015185611a39565b905060006125af896000015185611a39565b9050826125bc838361270c565b6125c69190612e1e565b97505050505050505061181f565b60006125f06125e287611cba565b6125eb87611cba565b6127f4565b905060005b81811015612626576126078682611ef7565b6126118883611ef7565b036126265761261f81612dc7565b90506125f5565b935061181f92505050565b600080825111801561181f57508160008151811061265157612651612c6f565b6020910101516001600160f81b031916600360fe1b148061181f57508160008151811061268057612680612c6f565b6020910101516001600160f81b031916600160ff1b1492915050565b80516000906015146126ad57600080fd5b61181f826116ad565b6060816001600160401b038111156126d0576126d0612ba2565b6040519080825280601f01601f1916602001820160405280156126fa576020820181803683370190505b5090506020810161231f84828561280a565b60008061271b845184516127f4565b905060005b818110156127e95783818151811061273a5761273a612c6f565b602001015160f81c60f81b6001600160f81b03191685828151811061276157612761612c6f565b01602001516001600160f81b031916146127d9576127bb85828151811061278a5761278a612c6f565b602001015160f81c60f81b8583815181106127a7576127a7612c6f565b01602001516001600160f81b031916612878565b6127c6600283612e7f565b6127d09190612e1e565b9250505061181f565b6127e281612dc7565b9050612720565b61240a600282612e7f565b60008183106128035781611b29565b5090919050565b602081106128425782518252612821602083612e1e565b915061282e602084612e1e565b925061283b602082612e31565b905061280a565b60008115612872576001612857836020612e31565b61286390610100612f93565b61286d9190612e31565b6123d0565b50505050565b60006001600160f81b0319808316908416036128965750600261181f565b8160f81c60f01660ff168360f81c60f01660ff16036128b75750600161181f565b50600061181f565b604051806060016040528060006001600160a01b0316815260200160608152602001606081525090565b60408051610140810182526000808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e084018390526101008401839052845180860190955284528301529061012082015290565b905290565b6040518060400160405280612977604051806040016040528060608152602001600081525090565b815260408051608081018252600080825260208281018290529282015260608082015291015290565b60405180604001604052806129b36129ea565b815260200161294a5b6040518061020001604052806010905b6129d46129ea565b8152602001906001900390816129cc5790505090565b604051806040016040528060001515815260200161294a604080516080810182526000808252602082018190529181019190915260608082015290565b60008083601f840112612a3957600080fd5b5081356001600160401b03811115612a5057600080fd5b6020830191508360208260051b8501011115612a6b57600080fd5b9250929050565b600080600080600080600060a0888a031215612a8d57600080fd5b8735965060208801356001600160401b0380821115612aab57600080fd5b818a0191508a601f830112612abf57600080fd5b813581811115612ace57600080fd5b8b6020828501011115612ae057600080fd5b6020830198508097505060408a0135955060608a0135915080821115612b0557600080fd5b50612b128a828b01612a27565b989b979a50959894979596608090950135949350505050565b600060208284031215612b3d57600080fd5b81356001600160501b0381168114611b2957600080fd5b600060208083528351808285015260005b81811015612b8157858101830151858201604001528201612b65565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612be057612be0612ba2565b604052919050565b6000808284036060811215612bfc57600080fd5b6040811215612c0a57600080fd5b50604051604081018181106001600160401b0382111715612c2d57612c2d612ba2565b604090815284518252602080860151908301528401519092508015158114612c5457600080fd5b809150509250929050565b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b60006001600160401b0380841115612c9f57612c9f612ba2565b8360051b6020612cb0818301612bb8565b868152918501918181019036841115612cc857600080fd5b865b84811015612d4d57803586811115612ce25760008081fd5b8801601f3681830112612cf55760008081fd5b813588811115612d0757612d07612ba2565b612d18818301601f19168801612bb8565b91508082523687828501011115612d2f5760008081fd5b80878401888401376000908201870152845250918301918301612cca565b50979650505050505050565b600181811c90821680612d6d57607f821691505b60208210810361228657634e487b7160e01b600052602260045260246000fd5b805160208083015191908110156122865760001960209190910360031b1b16919050565b634e487b7160e01b600052601160045260246000fd5b600060018201612dd957612dd9612db1565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612e0557612e05612de0565b500690565b600082612e1957612e19612de0565b500490565b8082018082111561181f5761181f612db1565b8181038181111561181f5761181f612db1565b60ff818116838216019081111561181f5761181f612db1565b600060ff831680612e7057612e70612de0565b8060ff84160691505092915050565b808202811582820484141761181f5761181f612db1565b60ff828116828216039081111561181f5761181f612db1565b600181815b80851115612eea578160001904821115612ed057612ed0612db1565b80851615612edd57918102915b93841c9390800290612eb4565b509250929050565b600082612f015750600161181f565b81612f0e5750600061181f565b8160018114612f245760028114612f2e57612f4a565b600191505061181f565b60ff841115612f3f57612f3f612db1565b50506001821b61181f565b5060208310610133831016604e8410600b8410161715612f6d575081810a61181f565b612f778383612eaf565b8060001904821115612f8b57612f8b612db1565b029392505050565b6000611b298383612ef256fea26469706673582212201c04f249ebb873eb519ee4072a488b693e32100bbad40b8c43c01ce7a529206464736f6c63430008120033", } diff --git a/abi-bindings/go/mocks/MockPriceFeedAggregator/MockPriceFeedAggregator.go b/abi-bindings/go/mocks/MockPriceFeedAggregator/MockPriceFeedAggregator.go index a86c9ca..36a9c0b 100644 --- a/abi-bindings/go/mocks/MockPriceFeedAggregator/MockPriceFeedAggregator.go +++ b/abi-bindings/go/mocks/MockPriceFeedAggregator/MockPriceFeedAggregator.go @@ -31,7 +31,7 @@ var ( // MockPriceFeedAggregatorMetaData contains all meta data concerning the MockPriceFeedAggregator contract. var MockPriceFeedAggregatorMetaData = &bind.MetaData{ - ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"currentAnswer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"int256\",\"internalType\":\"int256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deployer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestRoundData\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"},{\"name\":\"\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"roundID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint80\",\"internalType\":\"uint80\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"updateAnswer\",\"inputs\":[{\"name\":\"currentAnswer_\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"roundID_\",\"type\":\"uint80\",\"internalType\":\"uint80\"},{\"name\":\"updatedAt_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updatedAt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"AnswerUpdated\",\"inputs\":[{\"name\":\"current\",\"type\":\"int256\",\"indexed\":true,\"internalType\":\"int256\"},{\"name\":\"roundId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"updatedAt\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]", + ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"int256\",\"name\":\"current\",\"type\":\"int256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"roundId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"}],\"name\":\"AnswerUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"currentAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deployer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"roundID\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"currentAnswer_\",\"type\":\"int256\"},{\"internalType\":\"uint80\",\"name\":\"roundID_\",\"type\":\"uint80\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt_\",\"type\":\"uint256\"}],\"name\":\"updateAnswer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updatedAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Bin: "0x60a060405234801561001057600080fd5b50336080526080516102a06100366000396000818160d1015261015001526102a06000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806314f8b42414610067578063683d010d146100975780637519ab50146100ac5780637e1b4cb0146100c3578063d5f39488146100cc578063feaf968c1461010b575b600080fd5b60015461007a906001600160501b031681565b6040516001600160501b0390911681526020015b60405180910390f35b6100aa6100a5366004610226565b610145565b005b6100b560025481565b60405190815260200161008e565b6100b560005481565b6100f37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161008e565b600154600054600254604080516001600160501b03909416808552602085019390935283018190526060830152608082015260a00161008e565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101c15760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c79206465706c6f7965722063616e2075706461746520616e7377657200604482015260640160405180910390fd5b60008390556001805469ffffffffffffffffffff19166001600160501b038416908117909155600282905560405182815284907f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f9060200160405180910390a3505050565b60008060006060848603121561023b57600080fd5b8335925060208401356001600160501b038116811461025957600080fd5b92959294505050604091909101359056fea2646970667358221220a4b447b178d078909ee811ebec5b56375dbe5c1951c719f52e6ceeb88c3a60d264736f6c63430008120033", }