Skip to content

Commit

Permalink
update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
pajicf committed Dec 10, 2023
1 parent 9bb8cce commit e79e3c0
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
node_modules/

# Hardhat / Solidity
cache
artifacts
coverage
coverage.json
typechain
typechain-types
ignition/deployments/**/build-info
ignition/deployments/**/artifacts/*.dbg.json
/cache
/artifacts
/coverage
/coverage.json
/typechain
/typechain-types
/ignition/deployments/**/build-info
/ignition/deployments/**/artifacts/*.dbg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "TickerPriceStorage",
"sourceName": "contracts/TickerPriceStorage.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "tickerFeedRegistry",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "string",
"name": "ticker",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newPrice",
"type": "uint256"
}
],
"name": "TickerPriceUpdated",
"type": "event"
},
{
"inputs": [
{
"internalType": "string",
"name": "ticker",
"type": "string"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"name": "set",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x60a060405234801561001057600080fd5b506040516106e83803806106e883398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161065d61008b600039600061035d015261065d6000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638a42ebe914610030575b600080fd5b61004361003e36600461046f565b610045565b005b816100bd5760405162461bcd60e51b815260206004820152603860248201527f5469636b6572507269636553746f726167653a20506172616d207469636b657260448201527f2063616e277420626520616e20656d7074792076616c7565000000000000000060648201526084015b60405180910390fd5b60008084846040516100d09291906104e7565b90815260200160405180910390205490508181036101565760405162461bcd60e51b815260206004820152603e60248201527f5469636b6572507269636553746f726167653a204e6577207072696365206d7560448201527f7374206e6f7420657175616c207468652063757272656e74207072696365000060648201526084016100b4565b6000811561020957600061016983610338565b9050838310156101845761017d838561050d565b9150610191565b61018e848461050d565b91505b808210156102075760405162461bcd60e51b815260206004820152603f60248201527f5469636b6572507269636553746f726167653a204e6577207072696365206d7560448201527f7374206265206c6172676572207468616e20746865206d696e2064656c74610060648201526084016100b4565b505b60006102158686610358565b905060006102228261045e565b90508482101561023d57610236828661050d565b925061024a565b610247858361050d565b92505b808311156102c2576040805162461bcd60e51b81526020600482015260248101919091527f5469636b6572507269636553746f726167653a204e6577207072696365206d7560448201527f737420626520736d616c6c6572207468616e20746865206d61782064656c746160648201526084016100b4565b84600088886040516102d59291906104e7565b908152604051908190036020018120919091556102f590889088906104e7565b604051908190038120868252907f826930ef17187e71faf3c0e8f1ebf0e85384b4866ce93bf13f6a8a00184152479060200160405180910390a250505050505050565b600061271061034860c884610520565b6103529190610537565b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2c9121185856040518363ffffffff1660e01b81526004016103a9929190610559565b602060405180830381865afa1580156103c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ea9190610588565b90506000816001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561042c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045091906105d7565b509198975050505050505050565b60006127106103486107d084610520565b60008060006040848603121561048457600080fd5b833567ffffffffffffffff8082111561049c57600080fd5b818601915086601f8301126104b057600080fd5b8135818111156104bf57600080fd5b8760208285010111156104d157600080fd5b6020928301989097509590910135949350505050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610352576103526104f7565b8082028115828204841417610352576103526104f7565b60008261055457634e487b7160e01b600052601260045260246000fd5b500490565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60006020828403121561059a57600080fd5b81516001600160a01b03811681146105b157600080fd5b9392505050565b805169ffffffffffffffffffff811681146105d257600080fd5b919050565b600080600080600060a086880312156105ef57600080fd5b6105f8866105b8565b945060208601519350604086015192506060860151915061061b608087016105b8565b9050929550929590935056fea26469706673582212209125d085ffd8fcc7329755aa0253d15e61604d73f935f8d904a371193a4f20de64736f6c63430008130033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80638a42ebe914610030575b600080fd5b61004361003e36600461046f565b610045565b005b816100bd5760405162461bcd60e51b815260206004820152603860248201527f5469636b6572507269636553746f726167653a20506172616d207469636b657260448201527f2063616e277420626520616e20656d7074792076616c7565000000000000000060648201526084015b60405180910390fd5b60008084846040516100d09291906104e7565b90815260200160405180910390205490508181036101565760405162461bcd60e51b815260206004820152603e60248201527f5469636b6572507269636553746f726167653a204e6577207072696365206d7560448201527f7374206e6f7420657175616c207468652063757272656e74207072696365000060648201526084016100b4565b6000811561020957600061016983610338565b9050838310156101845761017d838561050d565b9150610191565b61018e848461050d565b91505b808210156102075760405162461bcd60e51b815260206004820152603f60248201527f5469636b6572507269636553746f726167653a204e6577207072696365206d7560448201527f7374206265206c6172676572207468616e20746865206d696e2064656c74610060648201526084016100b4565b505b60006102158686610358565b905060006102228261045e565b90508482101561023d57610236828661050d565b925061024a565b610247858361050d565b92505b808311156102c2576040805162461bcd60e51b81526020600482015260248101919091527f5469636b6572507269636553746f726167653a204e6577207072696365206d7560448201527f737420626520736d616c6c6572207468616e20746865206d61782064656c746160648201526084016100b4565b84600088886040516102d59291906104e7565b908152604051908190036020018120919091556102f590889088906104e7565b604051908190038120868252907f826930ef17187e71faf3c0e8f1ebf0e85384b4866ce93bf13f6a8a00184152479060200160405180910390a250505050505050565b600061271061034860c884610520565b6103529190610537565b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2c9121185856040518363ffffffff1660e01b81526004016103a9929190610559565b602060405180830381865afa1580156103c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ea9190610588565b90506000816001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561042c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045091906105d7565b509198975050505050505050565b60006127106103486107d084610520565b60008060006040848603121561048457600080fd5b833567ffffffffffffffff8082111561049c57600080fd5b818601915086601f8301126104b057600080fd5b8135818111156104bf57600080fd5b8760208285010111156104d157600080fd5b6020928301989097509590910135949350505050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610352576103526104f7565b8082028115828204841417610352576103526104f7565b60008261055457634e487b7160e01b600052601260045260246000fd5b500490565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60006020828403121561059a57600080fd5b81516001600160a01b03811681146105b157600080fd5b9392505050565b805169ffffffffffffffffffff811681146105d257600080fd5b919050565b600080600080600060a086880312156105ef57600080fd5b6105f8866105b8565b945060208601519350604086015192506060860151915061061b608087016105b8565b9050929550929590935056fea26469706673582212209125d085ffd8fcc7329755aa0253d15e61604d73f935f8d904a371193a4f20de64736f6c63430008130033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "TickerUSDFeedRegistry",
"sourceName": "contracts/TickerUSDFeedRegistry.sol",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "ticker",
"type": "string"
},
{
"indexed": false,
"internalType": "address",
"name": "feedAddress",
"type": "address"
}
],
"name": "TickerFeedUpdated",
"type": "event"
},
{
"inputs": [
{
"internalType": "string",
"name": "ticker",
"type": "string"
}
],
"name": "getTickerFeed",
"outputs": [
{
"internalType": "address",
"name": "feedAddress",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "ticker",
"type": "string"
},
{
"internalType": "address",
"name": "feedAddress",
"type": "address"
}
],
"name": "setTickerFeed",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b0319163317905561031d806100326000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c2c912111461003b578063f5a238391461006a575b600080fd5b61004e6100493660046101f1565b61007f565b6040516001600160a01b03909116815260200160405180910390f35b61007d610078366004610233565b6100b4565b005b600060018383604051610093929190610296565b908152604051908190036020019020546001600160a01b0316905092915050565b6000546001600160a01b031633146101275760405162461bcd60e51b815260206004820152602c60248201527f5469636b65725553444665656452656769737472793a204f6e6c79206f776e6560448201526b1c881a5cc8185b1b1bddd95960a21b606482015260840160405180910390fd5b806001848460405161013a929190610296565b90815260405190819003602001812080546001600160a01b03939093166001600160a01b0319909316929092179091557f043e61692772a47617bc3a60d8fced44bf69adde009013c2a42a0412fd03c8c99061019b908590859085906102a6565b60405180910390a1505050565b60008083601f8401126101ba57600080fd5b50813567ffffffffffffffff8111156101d257600080fd5b6020830191508360208285010111156101ea57600080fd5b9250929050565b6000806020838503121561020457600080fd5b823567ffffffffffffffff81111561021b57600080fd5b610227858286016101a8565b90969095509350505050565b60008060006040848603121561024857600080fd5b833567ffffffffffffffff81111561025f57600080fd5b61026b868287016101a8565b90945092505060208401356001600160a01b038116811461028b57600080fd5b809150509250925092565b8183823760009101908152919050565b6040815282604082015282846060830137600060608483018101919091526001600160a01b03929092166020820152601f909201601f19169091010191905056fea26469706673582212206c15380f8533fa94547caa94067b1d4a9faf34f33168ae6991ee367dc911f20564736f6c63430008130033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063c2c912111461003b578063f5a238391461006a575b600080fd5b61004e6100493660046101f1565b61007f565b6040516001600160a01b03909116815260200160405180910390f35b61007d610078366004610233565b6100b4565b005b600060018383604051610093929190610296565b908152604051908190036020019020546001600160a01b0316905092915050565b6000546001600160a01b031633146101275760405162461bcd60e51b815260206004820152602c60248201527f5469636b65725553444665656452656769737472793a204f6e6c79206f776e6560448201526b1c881a5cc8185b1b1bddd95960a21b606482015260840160405180910390fd5b806001848460405161013a929190610296565b90815260405190819003602001812080546001600160a01b03939093166001600160a01b0319909316929092179091557f043e61692772a47617bc3a60d8fced44bf69adde009013c2a42a0412fd03c8c99061019b908590859085906102a6565b60405180910390a1505050565b60008083601f8401126101ba57600080fd5b50813567ffffffffffffffff8111156101d257600080fd5b6020830191508360208285010111156101ea57600080fd5b9250929050565b6000806020838503121561020457600080fd5b823567ffffffffffffffff81111561021b57600080fd5b610227858286016101a8565b90969095509350505050565b60008060006040848603121561024857600080fd5b833567ffffffffffffffff81111561025f57600080fd5b61026b868287016101a8565b90945092505060208401356001600160a01b038116811461028b57600080fd5b809150509250925092565b8183823760009101908152919050565b6040815282604082015282846060830137600060608483018101919091526001600160a01b03929092166020820152601f909201601f19169091010191905056fea26469706673582212206c15380f8533fa94547caa94067b1d4a9faf34f33168ae6991ee367dc911f20564736f6c63430008130033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Loading

0 comments on commit e79e3c0

Please sign in to comment.