Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@synthetixio/buyback-snx

Package Overview
Dependencies
Maintainers
7
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synthetixio/buyback-snx - npm Package Compare versions

Comparing version 3.3.6 to 3.3.14

artifacts/build-info/9bfe6f228285519a22eb2cc57d2445f0.json

2

artifacts/@synthetixio/core-contracts/contracts/errors/ParameterError.sol/ParameterError.dbg.json
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -111,6 +111,6 @@ {

],
"bytecode": "0x61016f61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c80639d8e2177116100655780639d8e2177146101225780639f3f7fc114610101578063ccd34cd514610131578063d3efe7951461012257600080fd5b80635031052e1461009757806377ad5213146100cc5780637decad29146100ee5780639be8de8f14610101575b600080fd5b6100a6670de0b6b3a764000081565b6040516fffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100db670de0b6b3a764000081565b604051600f9190910b81526020016100c3565b6100db6b033b2e3c9fd0803ce800000081565b6101146b033b2e3c9fd0803ce800000081565b6040519081526020016100c3565b610114670de0b6b3a764000081565b61011460098156fea2646970667358221220da4e08f6bde147eafbbe95fb3d25b0af551058257ab9e76d59729a467285b70964736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c80639d8e2177116100655780639d8e2177146101225780639f3f7fc114610101578063ccd34cd514610131578063d3efe7951461012257600080fd5b80635031052e1461009757806377ad5213146100cc5780637decad29146100ee5780639be8de8f14610101575b600080fd5b6100a6670de0b6b3a764000081565b6040516fffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100db670de0b6b3a764000081565b604051600f9190910b81526020016100c3565b6100db6b033b2e3c9fd0803ce800000081565b6101146b033b2e3c9fd0803ce800000081565b6040519081526020016100c3565b610114670de0b6b3a764000081565b61011460098156fea2646970667358221220da4e08f6bde147eafbbe95fb3d25b0af551058257ab9e76d59729a467285b70964736f6c63430008160033",
"bytecode": "0x61016f61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c80639d8e2177116100655780639d8e2177146101225780639f3f7fc114610101578063ccd34cd514610131578063d3efe7951461012257600080fd5b80635031052e1461009757806377ad5213146100cc5780637decad29146100ee5780639be8de8f14610101575b600080fd5b6100a6670de0b6b3a764000081565b6040516fffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100db670de0b6b3a764000081565b604051600f9190910b81526020016100c3565b6100db6b033b2e3c9fd0803ce800000081565b6101146b033b2e3c9fd0803ce800000081565b6040519081526020016100c3565b610114670de0b6b3a764000081565b61011460098156fea2646970667358221220c2bc03e3afebbfe072e1eb478234dfa86f06439a15f2465a8aab2dedcf70e72c64736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c80639d8e2177116100655780639d8e2177146101225780639f3f7fc114610101578063ccd34cd514610131578063d3efe7951461012257600080fd5b80635031052e1461009757806377ad5213146100cc5780637decad29146100ee5780639be8de8f14610101575b600080fd5b6100a6670de0b6b3a764000081565b6040516fffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100db670de0b6b3a764000081565b604051600f9190910b81526020016100c3565b6100db6b033b2e3c9fd0803ce800000081565b6101146b033b2e3c9fd0803ce800000081565b6040519081526020016100c3565b610114670de0b6b3a764000081565b61011460098156fea2646970667358221220c2bc03e3afebbfe072e1eb478234dfa86f06439a15f2465a8aab2dedcf70e72c64736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -17,6 +17,6 @@ {

],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122005d149895eff1583d2c207c6ab592d3b96d6b40f091de3c61b1923e32d0fb75f64736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122005d149895eff1583d2c207c6ab592d3b96d6b40f091de3c61b1923e32d0fb75f64736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f9e3231478891daa760405b592206714ad437f641f9942ca4526f30371ce378b64736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f9e3231478891daa760405b592206714ad437f641f9942ca4526f30371ce378b64736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -12,6 +12,6 @@ {

],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205d5a385346bafb3bd53b332fc3fed0c032b641b12c3ec0fc8ab8f70a64750a9364736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205d5a385346bafb3bd53b332fc3fed0c032b641b12c3ec0fc8ab8f70a64750a9364736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208d1c7f41df9e1be40956bb51a6e2ac4ec425523ca58a2dc805977547b593bab764736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208d1c7f41df9e1be40956bb51a6e2ac4ec425523ca58a2dc805977547b593bab764736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -6,6 +6,6 @@ {

"abi": [],
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220655826ce7027f68e94359722f76921484281047db7484917fb78db091a3f191564736f6c63430008160033",
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220655826ce7027f68e94359722f76921484281047db7484917fb78db091a3f191564736f6c63430008160033",
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220b109ee8c7ecc88f1d88953d53f2f98a0239dc68c01e26d0f127a2cdecbd3899d64736f6c63430008160033",
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220b109ee8c7ecc88f1d88953d53f2f98a0239dc68c01e26d0f127a2cdecbd3899d64736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -20,6 +20,6 @@ {

],
"bytecode": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea2646970667358221220af85220ebc0d6fbe5141d35d737a4b95f085e72e47da747d7605c4fda5e39dec64736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea2646970667358221220af85220ebc0d6fbe5141d35d737a4b95f085e72e47da747d7605c4fda5e39dec64736f6c63430008160033",
"bytecode": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea2646970667358221220cf9c2b180bebad923fe18ba62f876fd4815712bbd2b36f2462437ca092373ad064736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea2646970667358221220cf9c2b180bebad923fe18ba62f876fd4815712bbd2b36f2462437ca092373ad064736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -6,6 +6,6 @@ {

"abi": [],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201448e7d3cb9dbf17861c6fb1006dd3b81a51b99876b2e30e76658092cd52130664736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201448e7d3cb9dbf17861c6fb1006dd3b81a51b99876b2e30e76658092cd52130664736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f6e29ce81659d6a35166b6e5a4fef20acb16c1ac329b4d1be999a1624b8603a864736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f6e29ce81659d6a35166b6e5a4fef20acb16c1ac329b4d1be999a1624b8603a864736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -6,6 +6,6 @@ {

"abi": [],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d38bbeea0f5535855066f99c6bb6b7f24d2f6e1c587f3c4e0c55aab3d45f685664736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d38bbeea0f5535855066f99c6bb6b7f24d2f6e1c587f3c4e0c55aab3d45f685664736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122031604f08af1849579ed2d92dae13048d4ae8faccc91d305283005edd9a2f8b5064736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122031604f08af1849579ed2d92dae13048d4ae8faccc91d305283005edd9a2f8b5064736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -23,6 +23,6 @@ {

],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122086e4ab9f6b180dd79fdb8981c09ca8d4c4c611074fd3fb710b629b0f6abd23e164736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122086e4ab9f6b180dd79fdb8981c09ca8d4c4c611074fd3fb710b629b0f6abd23e164736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209c660f2c92f3d8b806d4d88ee89458fcf7ed39885a98af7fe0e5afae1035fcc364736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209c660f2c92f3d8b806d4d88ee89458fcf7ed39885a98af7fe0e5afae1035fcc364736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -20,6 +20,6 @@ {

],
"bytecode": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea2646970667358221220d75f634973c602b4d0200955577b4783beda1452101ba95a87f0f89b97362c6a64736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea2646970667358221220d75f634973c602b4d0200955577b4783beda1452101ba95a87f0f89b97362c6a64736f6c63430008160033",
"bytecode": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea264697066735822122030c571fd785956761a4de9d1d8fd27a61c186d2c9e68484c38187fc7cceef51264736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea264697066735822122030c571fd785956761a4de9d1d8fd27a61c186d2c9e68484c38187fc7cceef51264736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -36,6 +36,6 @@ {

],
"bytecode": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea26469706673582212202b6265280925f05ba0ae5ec54069ebe8eb370388952b998eb04b096b64d0001264736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea26469706673582212202b6265280925f05ba0ae5ec54069ebe8eb370388952b998eb04b096b64d0001264736f6c63430008160033",
"bytecode": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea26469706673582212206f663d7183d4274f79fc63dd40ce8d063f8b310794d32005895330c6f3819d1464736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405190815260200160405180910390f3fea26469706673582212206f663d7183d4274f79fc63dd40ce8d063f8b310794d32005895330c6f3819d1464736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -29,6 +29,6 @@ {

],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208e0989993cb4003e83b56d0df95540daf33179028e6734c7580480845390c30664736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208e0989993cb4003e83b56d0df95540daf33179028e6734c7580480845390c30664736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e150096c5a3966509b3fa32fbadf280e347db46b46aff9d5f71cec8148813fd264736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e150096c5a3966509b3fa32fbadf280e347db46b46aff9d5f71cec8148813fd264736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -12,6 +12,6 @@ {

],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd10a3ffc697a81022650ba1ac79bc41b04d73c83be4042cccc6552bd6811e9364736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd10a3ffc697a81022650ba1ac79bc41b04d73c83be4042cccc6552bd6811e9364736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c9cbd002ada3679a7b878739ab24b6323bc100a618ba69ae5d2ed74630b6db564736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c9cbd002ada3679a7b878739ab24b6323bc100a618ba69ae5d2ed74630b6db564736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -20,6 +20,6 @@ {

],
"bytecode": "0x608b610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405160ff909116815260200160405180910390f3fea2646970667358221220e1e9228298fee3085909fc4005c9a8d31aa50bfd16338b23eca4899eebe9af4764736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405160ff909116815260200160405180910390f3fea2646970667358221220e1e9228298fee3085909fc4005c9a8d31aa50bfd16338b23eca4899eebe9af4764736f6c63430008160033",
"bytecode": "0x608b610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405160ff909116815260200160405180910390f3fea2646970667358221220831c09af97001ec29e19b8c5255c70b0cb8acfaf5a71003c903897e76f0e381b64736f6c63430008160033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063aaf5eb68146038575b600080fd5b603f601281565b60405160ff909116815260200160405180910390f3fea2646970667358221220831c09af97001ec29e19b8c5255c70b0cb8acfaf5a71003c903897e76f0e381b64736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -18,6 +18,6 @@ {

],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220732583ad2ba31c8919e163f01930ff8a735862007b9929114634f84b3904e40064736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220732583ad2ba31c8919e163f01930ff8a735862007b9929114634f84b3904e40064736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b4bd869ed509e79df18970afc9f7841729b1c1e5770208df288fd4244f16692064736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b4bd869ed509e79df18970afc9f7841729b1c1e5770208df288fd4244f16692064736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -6,6 +6,6 @@ {

"abi": [],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cd020126c330f49dd45dd7d4cb4d6db3fd48c0158554da91bed73c99eafe86eb64736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cd020126c330f49dd45dd7d4cb4d6db3fd48c0158554da91bed73c99eafe86eb64736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203bf3a95b95a8f7ae8b52f15ee8ebb3e2d33da21dc4336cacc0e1e4cd4f7f83d764736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203bf3a95b95a8f7ae8b52f15ee8ebb3e2d33da21dc4336cacc0e1e4cd4f7f83d764736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -6,6 +6,6 @@ {

"abi": [],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122057ee70d384343f7dd432773809e1331ebffe6364ca43421a97087a880c80150464736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122057ee70d384343f7dd432773809e1331ebffe6364ca43421a97087a880c80150464736f6c63430008160033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a6731dc2c8ae0f239a1c2af4700196902292867b33c066d711f9120007e1f42d64736f6c63430008160033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a6731dc2c8ae0f239a1c2af4700196902292867b33c066d711f9120007e1f42d64736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../../../../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/68e878c495d08b426f2c2ef26b34e719.json"
"buildInfo": "../../build-info/9bfe6f228285519a22eb2cc57d2445f0.json"
}

@@ -87,8 +87,8 @@ {

"inputs": [],
"name": "getPremium",
"name": "oracleManager",
"outputs": [
{
"internalType": "uint256",
"internalType": "address",
"name": "",
"type": "uint256"
"type": "address"
}

@@ -101,3 +101,3 @@ ],

"inputs": [],
"name": "getSnxFeeShare",
"name": "premium",
"outputs": [

@@ -114,15 +114,2 @@ {

{
"inputs": [],
"name": "getSnxNodeId",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [

@@ -170,2 +157,41 @@ {

{
"inputs": [],
"name": "snxFeeShare",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "snxNodeId",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "snxToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [

@@ -188,8 +214,21 @@ {

"type": "function"
},
{
"inputs": [],
"name": "usdToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a060405261dead60805234801561001657600080fd5b506040516108a03803806108a08339810160408190526100359161012a565b600061003f610099565b9687555060018601949094556002850180546001600160a01b03199081166001600160a01b039586161790915560038601929092556004850180548316918416919091179055600590930180549093169116179055610189565b6000806040516020016100f0906020808252602a908201527f696f2e73796e7468657469782e617578696c696172792e6275796261636b2d736040820152696e782e4275796261636b60b01b606082015260800190565b60408051601f19818403018152919052805160209091012092915050565b80516001600160a01b038116811461012557600080fd5b919050565b60008060008060008060c0878903121561014357600080fd5b865195506020870151945061015a6040880161010e565b93506060870151925061016f6080880161010e565b915061017d60a0880161010e565b90509295509295509295565b6080516106f66101aa6000396000818160af01526102c801526106f66000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806394236cb81161005b57806394236cb8146100ff578063bf5b74a014610107578063c97440291461011a578063deab43b21461012257600080fd5b806301ffc9a71461008257806303fd2a45146100aa5780637f9ac73d146100e9575b600080fd5b610095610090366004610522565b610137565b60405190151581526020015b60405180910390f35b6100d17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a1565b6100f161016e565b6040519081526020016100a1565b6100f1610181565b6100f161011536600461054c565b610194565b6100f16101b4565b6101356101303660046105af565b6101c4565b005b60006001600160e01b031982166305fadba560e51b148061016857506001600160e01b031982166301ffc9a760e01b145b92915050565b6000610178610423565b60030154905090565b600061018b610423565b60010154905090565b60006101ac6101a1610423565b600101548490610498565b949350505050565b60006101be610423565b54919050565b60006101ce610423565b60028101546003820154604051632a952b2d60e01b81529293506000926001600160a01b0390921691632a952b2d9161020d9160040190815260200190565b608060405180830381865afa15801561022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024e91906105c8565b905060006102848360000154670de0b6b3a764000061026d9190610652565b61027e8661027e86600001516104be565b90610498565b60048401549091506001600160a01b03166323b872dd6102a26104e5565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091166024820152604481018790526064016020604051808303816000875af1158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610665565b5060058301546001600160a01b031663a9059cbb6103586104e5565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156103a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c99190610665565b506103d26104e5565b6001600160a01b03167f840f6b22bacac5a7ec150e55e4101f796377c95c8b315bbfd6c943958d5a83f88583604051610415929190918252602082015260400190565b60405180910390a250505050565b60008060405160200161047a906020808252602a908201527f696f2e73796e7468657469782e617578696c696172792e6275796261636b2d736040820152696e782e4275796261636b60b01b606082015260800190565b60408051601f19818403018152919052805160209091012092915050565b6000670de0b6b3a76400006104ad8385610687565b6104b7919061069e565b9392505050565b6000808212156104e15760405163029f024d60e31b815260040160405180910390fd5b5090565b600073e2c5658cc5c448b48141168f3e475df8f65a1e3e3314801561050b575060143610155b1561051d575060131936013560601c90565b503390565b60006020828403121561053457600080fd5b81356001600160e01b0319811681146104b757600080fd5b60008060006060848603121561056157600080fd5b83356fffffffffffffffffffffffffffffffff8116811461058157600080fd5b92506020840135915060408401356001600160a01b03811681146105a457600080fd5b809150509250925092565b6000602082840312156105c157600080fd5b5035919050565b6000608082840312156105da57600080fd5b6040516080810181811067ffffffffffffffff8211171561060b57634e487b7160e01b600052604160045260246000fd5b8060405250825181526020830151602082015260408301516040820152606083015160608201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b808201808211156101685761016861063c565b60006020828403121561067757600080fd5b815180151581146104b757600080fd5b80820281158282048414176101685761016861063c565b6000826106bb57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202411701cf0bab3246792c6844add167efbbc15441fc9f09efd4d25136268f91964736f6c63430008160033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c806394236cb81161005b57806394236cb8146100ff578063bf5b74a014610107578063c97440291461011a578063deab43b21461012257600080fd5b806301ffc9a71461008257806303fd2a45146100aa5780637f9ac73d146100e9575b600080fd5b610095610090366004610522565b610137565b60405190151581526020015b60405180910390f35b6100d17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a1565b6100f161016e565b6040519081526020016100a1565b6100f1610181565b6100f161011536600461054c565b610194565b6100f16101b4565b6101356101303660046105af565b6101c4565b005b60006001600160e01b031982166305fadba560e51b148061016857506001600160e01b031982166301ffc9a760e01b145b92915050565b6000610178610423565b60030154905090565b600061018b610423565b60010154905090565b60006101ac6101a1610423565b600101548490610498565b949350505050565b60006101be610423565b54919050565b60006101ce610423565b60028101546003820154604051632a952b2d60e01b81529293506000926001600160a01b0390921691632a952b2d9161020d9160040190815260200190565b608060405180830381865afa15801561022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024e91906105c8565b905060006102848360000154670de0b6b3a764000061026d9190610652565b61027e8661027e86600001516104be565b90610498565b60048401549091506001600160a01b03166323b872dd6102a26104e5565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091166024820152604481018790526064016020604051808303816000875af1158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610665565b5060058301546001600160a01b031663a9059cbb6103586104e5565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156103a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c99190610665565b506103d26104e5565b6001600160a01b03167f840f6b22bacac5a7ec150e55e4101f796377c95c8b315bbfd6c943958d5a83f88583604051610415929190918252602082015260400190565b60405180910390a250505050565b60008060405160200161047a906020808252602a908201527f696f2e73796e7468657469782e617578696c696172792e6275796261636b2d736040820152696e782e4275796261636b60b01b606082015260800190565b60408051601f19818403018152919052805160209091012092915050565b6000670de0b6b3a76400006104ad8385610687565b6104b7919061069e565b9392505050565b6000808212156104e15760405163029f024d60e31b815260040160405180910390fd5b5090565b600073e2c5658cc5c448b48141168f3e475df8f65a1e3e3314801561050b575060143610155b1561051d575060131936013560601c90565b503390565b60006020828403121561053457600080fd5b81356001600160e01b0319811681146104b757600080fd5b60008060006060848603121561056157600080fd5b83356fffffffffffffffffffffffffffffffff8116811461058157600080fd5b92506020840135915060408401356001600160a01b03811681146105a457600080fd5b809150509250925092565b6000602082840312156105c157600080fd5b5035919050565b6000608082840312156105da57600080fd5b6040516080810181811067ffffffffffffffff8211171561060b57634e487b7160e01b600052604160045260246000fd5b8060405250825181526020830151602082015260408301516040820152606083015160608201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b808201808211156101685761016861063c565b60006020828403121561067757600080fd5b815180151581146104b757600080fd5b80820281158282048414176101685761016861063c565b6000826106bb57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202411701cf0bab3246792c6844add167efbbc15441fc9f09efd4d25136268f91964736f6c63430008160033",
"bytecode": "0x61016060405261dead60805234801561001757600080fd5b5060405161092d38038061092d83398101604081905261003691610081565b60a09590955260c0939093526001600160a01b0391821660e052610100529081166101205216610140526100e0565b80516001600160a01b038116811461007c57600080fd5b919050565b60008060008060008060c0878903121561009a57600080fd5b86519550602087015194506100b160408801610065565b9350606087015192506100c660808801610065565b91506100d460a08801610065565b90509295509295509295565b60805160a05160c05160e0516101005161012051610140516107c361016a60003960008181610208015261046601526000818161016b015261039401526000818161010f01526102a401526000818161014401526102cd01526000818161019201526102690152600081816101e1015261034c01526000818160d001526103ef01526107c36000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80636c2f431c116100665780636c2f431c1461018d578063bf5b74a0146101b4578063deab43b2146101c7578063e0a73a93146101dc578063f897a22b1461020357600080fd5b806301ffc9a7146100a357806303fd2a45146100cb578063553c7b961461010a578063565d878c1461013f578063659d43f314610166575b600080fd5b6100b66100b13660046105ef565b61022a565b60405190151581526020015b60405180910390f35b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6101317f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100c2565b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b6101317f000000000000000000000000000000000000000000000000000000000000000081565b6101316101c2366004610619565b610261565b6101da6101d536600461067c565b610295565b005b6101317f000000000000000000000000000000000000000000000000000000000000000081565b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b031982166305fadba560e51b148061025b57506001600160e01b031982166301ffc9a760e01b145b92915050565b600061028d837f0000000000000000000000000000000000000000000000000000000000000000610565565b949350505050565b604051632a952b2d60e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632a952b2d90602401608060405180830381865afa15801561031c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103409190610695565b905060006103906103797f0000000000000000000000000000000000000000000000000000000000000000670de0b6b3a764000061071f565b61038a8561038a866000015161058b565b90610565565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd6103c96105b2565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091166024820152604481018690526064016020604051808303816000875af115801561043f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104639190610732565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb61049b6105b2565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156104e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c9190610732565b506105156105b2565b6001600160a01b03167f840f6b22bacac5a7ec150e55e4101f796377c95c8b315bbfd6c943958d5a83f88483604051610558929190918252602082015260400190565b60405180910390a2505050565b6000670de0b6b3a764000061057a8385610754565b610584919061076b565b9392505050565b6000808212156105ae5760405163029f024d60e31b815260040160405180910390fd5b5090565b600073e2c5658cc5c448b48141168f3e475df8f65a1e3e331480156105d8575060143610155b156105ea575060131936013560601c90565b503390565b60006020828403121561060157600080fd5b81356001600160e01b03198116811461058457600080fd5b60008060006060848603121561062e57600080fd5b83356fffffffffffffffffffffffffffffffff8116811461064e57600080fd5b92506020840135915060408401356001600160a01b038116811461067157600080fd5b809150509250925092565b60006020828403121561068e57600080fd5b5035919050565b6000608082840312156106a757600080fd5b6040516080810181811067ffffffffffffffff821117156106d857634e487b7160e01b600052604160045260246000fd5b8060405250825181526020830151602082015260408301516040820152606083015160608201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561025b5761025b610709565b60006020828403121561074457600080fd5b8151801515811461058457600080fd5b808202811582820484141761025b5761025b610709565b60008261078857634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220b5dfd697e4b627b6df5cbb47dd5e85f16ca6228236b390f637eccfcba292e75164736f6c63430008160033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80636c2f431c116100665780636c2f431c1461018d578063bf5b74a0146101b4578063deab43b2146101c7578063e0a73a93146101dc578063f897a22b1461020357600080fd5b806301ffc9a7146100a357806303fd2a45146100cb578063553c7b961461010a578063565d878c1461013f578063659d43f314610166575b600080fd5b6100b66100b13660046105ef565b61022a565b60405190151581526020015b60405180910390f35b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6101317f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100c2565b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b6101317f000000000000000000000000000000000000000000000000000000000000000081565b6101316101c2366004610619565b610261565b6101da6101d536600461067c565b610295565b005b6101317f000000000000000000000000000000000000000000000000000000000000000081565b6100f27f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b031982166305fadba560e51b148061025b57506001600160e01b031982166301ffc9a760e01b145b92915050565b600061028d837f0000000000000000000000000000000000000000000000000000000000000000610565565b949350505050565b604051632a952b2d60e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632a952b2d90602401608060405180830381865afa15801561031c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103409190610695565b905060006103906103797f0000000000000000000000000000000000000000000000000000000000000000670de0b6b3a764000061071f565b61038a8561038a866000015161058b565b90610565565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd6103c96105b2565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091166024820152604481018690526064016020604051808303816000875af115801561043f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104639190610732565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb61049b6105b2565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156104e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c9190610732565b506105156105b2565b6001600160a01b03167f840f6b22bacac5a7ec150e55e4101f796377c95c8b315bbfd6c943958d5a83f88483604051610558929190918252602082015260400190565b60405180910390a2505050565b6000670de0b6b3a764000061057a8385610754565b610584919061076b565b9392505050565b6000808212156105ae5760405163029f024d60e31b815260040160405180910390fd5b5090565b600073e2c5658cc5c448b48141168f3e475df8f65a1e3e331480156105d8575060143610155b156105ea575060131936013560601c90565b503390565b60006020828403121561060157600080fd5b81356001600160e01b03198116811461058457600080fd5b60008060006060848603121561062e57600080fd5b83356fffffffffffffffffffffffffffffffff8116811461064e57600080fd5b92506020840135915060408401356001600160a01b038116811461067157600080fd5b809150509250925092565b60006020828403121561068e57600080fd5b5035919050565b6000608082840312156106a757600080fd5b6040516080810181811067ffffffffffffffff821117156106d857634e487b7160e01b600052604160045260246000fd5b8060405250825181526020830151602082015260408301516040820152606083015160608201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561025b5761025b610709565b60006020828403121561074457600080fd5b8151801515811461058457600080fd5b808202811582820484141761025b5761025b610709565b60008261078857634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220b5dfd697e4b627b6df5cbb47dd5e85f16ca6228236b390f637eccfcba292e75164736f6c63430008160033",
"linkReferences": {},
"deployedLinkReferences": {}
}
{
"_format": "hh-sol-cache-2",
"files": {
"/Users/nkbt/syn/synthetix-v3/auxiliary/buyback-snx/contracts/BuybackSnx.sol": {
"lastModificationDate": 1701813502478,
"contentHash": "041909cbf9cf65a4c90d2131269bbdf1",
"/Users/sunnyvempati/Dev/synthetix-v3/auxiliary/BuybackSnx/contracts/BuybackSnx.sol": {
"lastModificationDate": 1704727622462,
"contentHash": "2b88c4287a00f62c836644cbfae57111",
"sourceName": "contracts/BuybackSnx.sol",

@@ -40,4 +40,3 @@ "solcConfig": {

"@synthetixio/oracle-manager/contracts/interfaces/INodeModule.sol",
"@synthetixio/oracle-manager/contracts/storage/NodeOutput.sol",
"./storage/Buyback.sol"
"@synthetixio/oracle-manager/contracts/storage/NodeOutput.sol"
],

@@ -51,6 +50,6 @@ "versionPragmas": [

},
"/Users/nkbt/syn/synthetix-v3/auxiliary/buyback-snx/contracts/storage/Buyback.sol": {
"lastModificationDate": 1701813502478,
"contentHash": "909f83828fe4f1943dd8f810b7de1598",
"sourceName": "contracts/storage/Buyback.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/DecimalMath.sol": {
"lastModificationDate": 1708440999662,
"contentHash": "82c8e6913d693f74971687c4ea018555",
"sourceName": "@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"solcConfig": {

@@ -80,3 +79,5 @@ "version": "0.8.22",

},
"imports": [],
"imports": [
"./SafeCast.sol"
],
"versionPragmas": [

@@ -86,9 +87,9 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"Buyback"
"DecimalMath"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast.sol": {
"lastModificationDate": 1701813502513,
"contentHash": "28a51a7f397ee83aa4fd0b92eb926cd1",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/interfaces/IERC20.sol": {
"lastModificationDate": 1708440999658,
"contentHash": "0629d5c70ab3855b2b9d23d2f11283be",
"sourceName": "@synthetixio/core-contracts/contracts/interfaces/IERC20.sol",
"solcConfig": {

@@ -118,25 +119,12 @@ "version": "0.8.22",

},
"imports": [
"./SafeCast/SafeCastU32.sol",
"./SafeCast/SafeCastI32.sol",
"./SafeCast/SafeCastI24.sol",
"./SafeCast/SafeCastU56.sol",
"./SafeCast/SafeCastI56.sol",
"./SafeCast/SafeCastU64.sol",
"./SafeCast/SafeCastI64.sol",
"./SafeCast/SafeCastI128.sol",
"./SafeCast/SafeCastI256.sol",
"./SafeCast/SafeCastU128.sol",
"./SafeCast/SafeCastU160.sol",
"./SafeCast/SafeCastU256.sol",
"./SafeCast/SafeCastAddress.sol",
"./SafeCast/SafeCastBytes32.sol"
],
"imports": [],
"versionPragmas": [
">=0.8.11 <0.9.0"
],
"artifacts": []
"artifacts": [
"IERC20"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/interfaces/IERC165.sol": {
"lastModificationDate": 1687229493327,
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/interfaces/IERC165.sol": {
"lastModificationDate": 1686020095131,
"contentHash": "a85bf5803a026ff95c6f0b1a68b4a56f",

@@ -176,6 +164,6 @@ "sourceName": "@synthetixio/core-contracts/contracts/interfaces/IERC165.sol",

},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/DecimalMath.sol": {
"lastModificationDate": 1687229493332,
"contentHash": "e4289beb1c80ef7ccda2cfb5b49f63e6",
"sourceName": "@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast.sol": {
"lastModificationDate": 1702414446233,
"contentHash": "28a51a7f397ee83aa4fd0b92eb926cd1",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"solcConfig": {

@@ -206,3 +194,16 @@ "version": "0.8.22",

"imports": [
"./SafeCast.sol"
"./SafeCast/SafeCastU32.sol",
"./SafeCast/SafeCastI32.sol",
"./SafeCast/SafeCastI24.sol",
"./SafeCast/SafeCastU56.sol",
"./SafeCast/SafeCastI56.sol",
"./SafeCast/SafeCastU64.sol",
"./SafeCast/SafeCastI64.sol",
"./SafeCast/SafeCastI128.sol",
"./SafeCast/SafeCastI256.sol",
"./SafeCast/SafeCastU128.sol",
"./SafeCast/SafeCastU160.sol",
"./SafeCast/SafeCastU256.sol",
"./SafeCast/SafeCastAddress.sol",
"./SafeCast/SafeCastBytes32.sol"
],

@@ -212,10 +213,8 @@ "versionPragmas": [

],
"artifacts": [
"DecimalMath"
]
"artifacts": []
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/interfaces/INodeModule.sol": {
"lastModificationDate": 1701813502505,
"contentHash": "a830e02e86a78b8d09402e6b21c76b2d",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/INodeModule.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/markets/perps-market/contracts/interfaces/external/IFeeCollector.sol": {
"lastModificationDate": 1690832417388,
"contentHash": "032f3ce2107b27fa6f74c791dc174a1c",
"sourceName": "@synthetixio/perps-market/contracts/interfaces/external/IFeeCollector.sol",
"solcConfig": {

@@ -246,4 +245,3 @@ "version": "0.8.22",

"imports": [
"../storage/NodeOutput.sol",
"../storage/NodeDefinition.sol"
"@synthetixio/core-contracts/contracts/interfaces/IERC165.sol"
],

@@ -254,9 +252,9 @@ "versionPragmas": [

"artifacts": [
"INodeModule"
"IFeeCollector"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/interfaces/IERC20.sol": {
"lastModificationDate": 1687229493327,
"contentHash": "f10b3ead40bafa7a203952e2523f1a75",
"sourceName": "@synthetixio/core-contracts/contracts/interfaces/IERC20.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/interfaces/INodeModule.sol": {
"lastModificationDate": 1702414446219,
"contentHash": "a830e02e86a78b8d09402e6b21c76b2d",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/INodeModule.sol",
"solcConfig": {

@@ -286,3 +284,6 @@ "version": "0.8.22",

},
"imports": [],
"imports": [
"../storage/NodeOutput.sol",
"../storage/NodeDefinition.sol"
],
"versionPragmas": [

@@ -292,7 +293,7 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"IERC20"
"INodeModule"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/ERC2771Context.sol": {
"lastModificationDate": 1701813502513,
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/ERC2771Context.sol": {
"lastModificationDate": 1702414446233,
"contentHash": "0bbb2209cc8d07ffa772e80865ca9b03",

@@ -332,4 +333,4 @@ "sourceName": "@synthetixio/core-contracts/contracts/utils/ERC2771Context.sol",

},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/storage/NodeOutput.sol": {
"lastModificationDate": 1687229493307,
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/storage/NodeOutput.sol": {
"lastModificationDate": 1698693786691,
"contentHash": "913dad215263920293814f23ad01929f",

@@ -369,42 +370,4 @@ "sourceName": "@synthetixio/oracle-manager/contracts/storage/NodeOutput.sol",

},
"/Users/nkbt/syn/synthetix-v3/markets/perps-market/contracts/interfaces/external/IFeeCollector.sol": {
"lastModificationDate": 1696242436642,
"contentHash": "032f3ce2107b27fa6f74c791dc174a1c",
"sourceName": "@synthetixio/perps-market/contracts/interfaces/external/IFeeCollector.sol",
"solcConfig": {
"version": "0.8.22",
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata"
],
"": [
"ast"
]
}
}
}
},
"imports": [
"@synthetixio/core-contracts/contracts/interfaces/IERC165.sol"
],
"versionPragmas": [
">=0.8.11 <0.9.0"
],
"artifacts": [
"IFeeCollector"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI24.sol": {
"lastModificationDate": 1687229493333,
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI24.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "e150e3f450ed98d79ddd1c0fbec4528d",

@@ -444,6 +407,6 @@ "sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI24.sol",

},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI32.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "598c3893c76e53af76857aee60af0ec1",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI32.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI128.sol": {
"lastModificationDate": 1708440999662,
"contentHash": "62cba3412e8d21f19b819cd28fe90253",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI128.sol",
"solcConfig": {

@@ -478,9 +441,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastI32"
"SafeCastI128"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU32.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "a46b318cee0b0ff62108b631e2f8f15a",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU32.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU64.sol": {
"lastModificationDate": 1702414446233,
"contentHash": "b616a8b366f1c2ccc3e352f3b1c3b16f",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU64.sol",
"solcConfig": {

@@ -515,9 +478,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastU32"
"SafeCastU64"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU128.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "2d827647412a3546e3f25f5e4b3bf599",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU128.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU56.sol": {
"lastModificationDate": 1686020095136,
"contentHash": "a1d2a708aaa29e75602026653620659d",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU56.sol",
"solcConfig": {

@@ -552,9 +515,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastU128"
"SafeCastU56"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU56.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "a1d2a708aaa29e75602026653620659d",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU56.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI56.sol": {
"lastModificationDate": 1708440999663,
"contentHash": "04a816b5e9f5280f20137b476ef727dc",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI56.sol",
"solcConfig": {

@@ -589,9 +552,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastU56"
"SafeCastI56"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI256.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "ddfefa5a3546bf4e31a9ce705498791b",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI256.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI32.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "598c3893c76e53af76857aee60af0ec1",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI32.sol",
"solcConfig": {

@@ -626,9 +589,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastI256"
"SafeCastI32"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU64.sol": {
"lastModificationDate": 1701813502513,
"contentHash": "b616a8b366f1c2ccc3e352f3b1c3b16f",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU64.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI64.sol": {
"lastModificationDate": 1702414446233,
"contentHash": "11ab3398b7326aaa01392db81c5d0ca3",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI64.sol",
"solcConfig": {

@@ -663,9 +626,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastU64"
"SafeCastI64"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI56.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "3511bd65dd90ec8d4547c1bdec2ef330",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI56.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU32.sol": {
"lastModificationDate": 1686020095136,
"contentHash": "a46b318cee0b0ff62108b631e2f8f15a",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU32.sol",
"solcConfig": {

@@ -700,9 +663,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastI56"
"SafeCastU32"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI64.sol": {
"lastModificationDate": 1701813502513,
"contentHash": "11ab3398b7326aaa01392db81c5d0ca3",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI64.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU256.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "edbfcb17fb698bb97bf6753e1c0a6098",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU256.sol",
"solcConfig": {

@@ -737,9 +700,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastI64"
"SafeCastU256"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU256.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "edbfcb17fb698bb97bf6753e1c0a6098",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU256.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU128.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "2d827647412a3546e3f25f5e4b3bf599",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU128.sol",
"solcConfig": {

@@ -774,9 +737,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastU256"
"SafeCastU128"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastAddress.sol": {
"lastModificationDate": 1687229493332,
"contentHash": "beb53a4d14df6b66969fba68d450e333",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastAddress.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI256.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "ddfefa5a3546bf4e31a9ce705498791b",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI256.sol",
"solcConfig": {

@@ -811,9 +774,9 @@ "version": "0.8.22",

"artifacts": [
"SafeCastAddress"
"SafeCastI256"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastI128.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "b9dec12c45931cb61d18ee2c7a0514b7",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastI128.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastBytes32.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "1e5708bfec3b00ed7f25cc56a8f321f7",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastBytes32.sol",
"solcConfig": {

@@ -848,7 +811,7 @@ "version": "0.8.22",

"artifacts": [
"SafeCastI128"
"SafeCastBytes32"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU160.sol": {
"lastModificationDate": 1687229493333,
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastU160.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "378e0faf7b0f1147f844eaa677a21117",

@@ -888,6 +851,6 @@ "sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastU160.sol",

},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastBytes32.sol": {
"lastModificationDate": 1687229493333,
"contentHash": "1e5708bfec3b00ed7f25cc56a8f321f7",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastBytes32.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/SafeCast/SafeCastAddress.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "beb53a4d14df6b66969fba68d450e333",
"sourceName": "@synthetixio/core-contracts/contracts/utils/SafeCast/SafeCastAddress.sol",
"solcConfig": {

@@ -922,7 +885,7 @@ "version": "0.8.22",

"artifacts": [
"SafeCastBytes32"
"SafeCastAddress"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/storage/NodeDefinition.sol": {
"lastModificationDate": 1701813502507,
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/storage/NodeDefinition.sol": {
"lastModificationDate": 1702414446222,
"contentHash": "a207f0b65251f3c40ef942ff488058b7",

@@ -974,6 +937,6 @@ "sourceName": "@synthetixio/oracle-manager/contracts/storage/NodeDefinition.sol",

},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/errors/ParameterError.sol": {
"lastModificationDate": 1687229493327,
"contentHash": "1379352930384443296bf9ca1abce17b",
"sourceName": "@synthetixio/core-contracts/contracts/errors/ParameterError.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/ExternalNode.sol": {
"lastModificationDate": 1693494683300,
"contentHash": "dececf7bd73026550f1663c9663f4406",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/ExternalNode.sol",
"solcConfig": {

@@ -1003,3 +966,8 @@ "version": "0.8.22",

},
"imports": [],
"imports": [
"@synthetixio/core-contracts/contracts/utils/ERC165Helper.sol",
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol",
"../interfaces/external/IExternalNode.sol"
],
"versionPragmas": [

@@ -1009,9 +977,9 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"ParameterError"
"ExternalNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/ReducerNode.sol": {
"lastModificationDate": 1701813502506,
"contentHash": "041363f7fe429539657cc74de74a47bb",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/ReducerNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/ChainlinkNode.sol": {
"lastModificationDate": 1686020095115,
"contentHash": "79e2ea725753bb2b8a3f205d223125ef",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/ChainlinkNode.sol",
"solcConfig": {

@@ -1045,3 +1013,4 @@ "version": "0.8.22",

"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol"
"../storage/NodeOutput.sol",
"../interfaces/external/IAggregatorV3Interface.sol"
],

@@ -1052,9 +1021,9 @@ "versionPragmas": [

"artifacts": [
"ReducerNode"
"ChainlinkNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/ChainlinkNode.sol": {
"lastModificationDate": 1687229493307,
"contentHash": "79e2ea725753bb2b8a3f205d223125ef",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/ChainlinkNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/errors/ParameterError.sol": {
"lastModificationDate": 1686020095130,
"contentHash": "1379352930384443296bf9ca1abce17b",
"sourceName": "@synthetixio/core-contracts/contracts/errors/ParameterError.sol",
"solcConfig": {

@@ -1084,9 +1053,3 @@ "version": "0.8.22",

},
"imports": [
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol",
"../interfaces/external/IAggregatorV3Interface.sol"
],
"imports": [],
"versionPragmas": [

@@ -1096,9 +1059,9 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"ChainlinkNode"
"ParameterError"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/PriceDeviationCircuitBreakerNode.sol": {
"lastModificationDate": 1687229493307,
"contentHash": "014c07261962718a37dcbf46e1006ec6",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/PriceDeviationCircuitBreakerNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/ReducerNode.sol": {
"lastModificationDate": 1702414446222,
"contentHash": "041363f7fe429539657cc74de74a47bb",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/ReducerNode.sol",
"solcConfig": {

@@ -1138,9 +1101,9 @@ "version": "0.8.22",

"artifacts": [
"PriceDeviationCircuitBreakerNode"
"ReducerNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/ExternalNode.sol": {
"lastModificationDate": 1696242436675,
"contentHash": "dececf7bd73026550f1663c9663f4406",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/ExternalNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/StalenessCircuitBreakerNode.sol": {
"lastModificationDate": 1702414446222,
"contentHash": "59e36ac7a6e02440a68134dd580fc0b1",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/StalenessCircuitBreakerNode.sol",
"solcConfig": {

@@ -1171,6 +1134,5 @@ "version": "0.8.22",

"imports": [
"@synthetixio/core-contracts/contracts/utils/ERC165Helper.sol",
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol",
"../interfaces/external/IExternalNode.sol"
"../storage/NodeOutput.sol"
],

@@ -1181,9 +1143,9 @@ "versionPragmas": [

"artifacts": [
"ExternalNode"
"StalenessCircuitBreakerNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/UniswapNode.sol": {
"lastModificationDate": 1687229493307,
"contentHash": "6c024316e14b44930227a12c9f67b0ef",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/UniswapNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/pyth/PythNode.sol": {
"lastModificationDate": 1702414446222,
"contentHash": "3c269df29343fbe1ed4d6324688ff293",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/pyth/PythNode.sol",
"solcConfig": {

@@ -1214,10 +1176,7 @@ "version": "0.8.22",

"imports": [
"@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"@synthetixio/core-contracts/contracts/interfaces/IERC20.sol",
"../utils/FullMath.sol",
"../utils/TickMath.sol",
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol",
"../interfaces/external/IUniswapV3Pool.sol"
"../../storage/NodeDefinition.sol",
"../../storage/NodeOutput.sol",
"../../interfaces/external/IPyth.sol"
],

@@ -1228,9 +1187,9 @@ "versionPragmas": [

"artifacts": [
"UniswapNode"
"PythNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/StalenessCircuitBreakerNode.sol": {
"lastModificationDate": 1701813502506,
"contentHash": "59e36ac7a6e02440a68134dd580fc0b1",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/StalenessCircuitBreakerNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/pyth/PythOffchainLookupNode.sol": {
"lastModificationDate": 1702414446222,
"contentHash": "f270f9b770dda600be9b773e39b05c5b",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/pyth/PythOffchainLookupNode.sol",
"solcConfig": {

@@ -1261,5 +1220,6 @@ "version": "0.8.22",

"imports": [
"@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol"
"../../storage/NodeDefinition.sol",
"../../storage/NodeOutput.sol"
],

@@ -1270,7 +1230,7 @@ "versionPragmas": [

"artifacts": [
"StalenessCircuitBreakerNode"
"PythOffchainLookupNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/ConstantNode.sol": {
"lastModificationDate": 1687229493307,
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/ConstantNode.sol": {
"lastModificationDate": 1686020095115,
"contentHash": "a7a5a6e5e4d4d16a8ecb136b55e8c165",

@@ -1313,6 +1273,6 @@ "sourceName": "@synthetixio/oracle-manager/contracts/nodes/ConstantNode.sol",

},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/pyth/PythNode.sol": {
"lastModificationDate": 1701813502506,
"contentHash": "3c269df29343fbe1ed4d6324688ff293",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/pyth/PythNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/UniswapNode.sol": {
"lastModificationDate": 1686020095116,
"contentHash": "6c024316e14b44930227a12c9f67b0ef",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/UniswapNode.sol",
"solcConfig": {

@@ -1343,7 +1303,10 @@ "version": "0.8.22",

"imports": [
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"../../storage/NodeDefinition.sol",
"../../storage/NodeOutput.sol",
"../../interfaces/external/IPyth.sol"
"@synthetixio/core-contracts/contracts/interfaces/IERC20.sol",
"../utils/FullMath.sol",
"../utils/TickMath.sol",
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol",
"../interfaces/external/IUniswapV3Pool.sol"
],

@@ -1354,9 +1317,9 @@ "versionPragmas": [

"artifacts": [
"PythNode"
"UniswapNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/nodes/pyth/PythOffchainLookupNode.sol": {
"lastModificationDate": 1701813502506,
"contentHash": "f270f9b770dda600be9b773e39b05c5b",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/pyth/PythOffchainLookupNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/nodes/PriceDeviationCircuitBreakerNode.sol": {
"lastModificationDate": 1686020095116,
"contentHash": "014c07261962718a37dcbf46e1006ec6",
"sourceName": "@synthetixio/oracle-manager/contracts/nodes/PriceDeviationCircuitBreakerNode.sol",
"solcConfig": {

@@ -1387,6 +1350,6 @@ "version": "0.8.22",

"imports": [
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"@synthetixio/core-contracts/contracts/utils/DecimalMath.sol",
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol",
"../../storage/NodeDefinition.sol",
"../../storage/NodeOutput.sol"
"../storage/NodeDefinition.sol",
"../storage/NodeOutput.sol"
],

@@ -1397,9 +1360,9 @@ "versionPragmas": [

"artifacts": [
"PythOffchainLookupNode"
"PriceDeviationCircuitBreakerNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IAggregatorV3Interface.sol": {
"lastModificationDate": 1687229493305,
"contentHash": "c4bd623a2266096c66165758c64cb5ae",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IAggregatorV3Interface.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/utils/core-contracts/contracts/utils/ERC165Helper.sol": {
"lastModificationDate": 1686020095135,
"contentHash": "756fa43423e6c79ddfbb7ceaee7cfbc9",
"sourceName": "@synthetixio/core-contracts/contracts/utils/ERC165Helper.sol",
"solcConfig": {

@@ -1429,3 +1392,5 @@ "version": "0.8.22",

},
"imports": [],
"imports": [
"../interfaces/IERC165.sol"
],
"versionPragmas": [

@@ -1435,9 +1400,9 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"IAggregatorV3Interface"
"ERC165Helper"
]
},
"/Users/nkbt/syn/synthetix-v3/utils/core-contracts/contracts/utils/ERC165Helper.sol": {
"lastModificationDate": 1687229493332,
"contentHash": "756fa43423e6c79ddfbb7ceaee7cfbc9",
"sourceName": "@synthetixio/core-contracts/contracts/utils/ERC165Helper.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IExternalNode.sol": {
"lastModificationDate": 1693494683300,
"contentHash": "01c3b897f772be5ec1900877312b010f",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IExternalNode.sol",
"solcConfig": {

@@ -1468,3 +1433,5 @@ "version": "0.8.22",

"imports": [
"../interfaces/IERC165.sol"
"@synthetixio/core-contracts/contracts/interfaces/IERC165.sol",
"../../storage/NodeOutput.sol",
"../../storage/NodeDefinition.sol"
],

@@ -1475,9 +1442,9 @@ "versionPragmas": [

"artifacts": [
"ERC165Helper"
"IExternalNode"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IExternalNode.sol": {
"lastModificationDate": 1696242436674,
"contentHash": "01c3b897f772be5ec1900877312b010f",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IExternalNode.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IAggregatorV3Interface.sol": {
"lastModificationDate": 1700507008910,
"contentHash": "c4bd623a2266096c66165758c64cb5ae",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IAggregatorV3Interface.sol",
"solcConfig": {

@@ -1507,7 +1474,3 @@ "version": "0.8.22",

},
"imports": [
"@synthetixio/core-contracts/contracts/interfaces/IERC165.sol",
"../../storage/NodeOutput.sol",
"../../storage/NodeDefinition.sol"
],
"imports": [],
"versionPragmas": [

@@ -1517,9 +1480,9 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"IExternalNode"
"IAggregatorV3Interface"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/utils/TickMath.sol": {
"lastModificationDate": 1687229493308,
"contentHash": "96ec21dd4db82f3f3012c7e1752823b8",
"sourceName": "@synthetixio/oracle-manager/contracts/utils/TickMath.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IPyth.sol": {
"lastModificationDate": 1708441011568,
"contentHash": "405835e381198375c5a9cf1dfffa1f01",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IPyth.sol",
"solcConfig": {

@@ -1549,5 +1512,3 @@ "version": "0.8.22",

},
"imports": [
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol"
],
"imports": [],
"versionPragmas": [

@@ -1557,7 +1518,8 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"TickMath"
"IPyth",
"PythStructs"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/utils/FullMath.sol": {
"lastModificationDate": 1687229493308,
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/utils/FullMath.sol": {
"lastModificationDate": 1686020095116,
"contentHash": "bd5f9fd11cb5520750fbf8054d19b358",

@@ -1599,6 +1561,6 @@ "sourceName": "@synthetixio/oracle-manager/contracts/utils/FullMath.sol",

},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IUniswapV3Pool.sol": {
"lastModificationDate": 1687229493305,
"contentHash": "9708ddf8e4314cc1291e94185f9b4733",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IUniswapV3Pool.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/utils/TickMath.sol": {
"lastModificationDate": 1686020095116,
"contentHash": "96ec21dd4db82f3f3012c7e1752823b8",
"sourceName": "@synthetixio/oracle-manager/contracts/utils/TickMath.sol",
"solcConfig": {

@@ -1628,3 +1590,5 @@ "version": "0.8.22",

},
"imports": [],
"imports": [
"@synthetixio/core-contracts/contracts/utils/SafeCast.sol"
],
"versionPragmas": [

@@ -1634,9 +1598,9 @@ ">=0.8.11 <0.9.0"

"artifacts": [
"IUniswapV3Pool"
"TickMath"
]
},
"/Users/nkbt/syn/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IPyth.sol": {
"lastModificationDate": 1701813502505,
"contentHash": "3fb3c7eb33a096a67e7681a124d9558e",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IPyth.sol",
"/Users/sunnyvempati/Dev/synthetix-v3/protocol/oracle-manager/contracts/interfaces/external/IUniswapV3Pool.sol": {
"lastModificationDate": 1686020095114,
"contentHash": "9708ddf8e4314cc1291e94185f9b4733",
"sourceName": "@synthetixio/oracle-manager/contracts/interfaces/external/IUniswapV3Pool.sol",
"solcConfig": {

@@ -1671,4 +1635,3 @@ "version": "0.8.22",

"artifacts": [
"IPyth",
"PythStructs"
"IUniswapV3Pool"
]

@@ -1675,0 +1638,0 @@ }

{
"name": "@synthetixio/buyback-snx",
"version": "3.3.6",
"version": "3.3.14",
"description": "Market buys and burns SNX",

@@ -26,16 +26,16 @@ "publishConfig": {

"devDependencies": {
"@synthetixio/common-config": "3.3.6",
"@synthetixio/core-contracts": "3.3.6",
"@synthetixio/core-modules": "3.3.6",
"@synthetixio/core-utils": "3.3.6",
"@synthetixio/common-config": "3.3.14",
"@synthetixio/core-contracts": "3.3.14",
"@synthetixio/core-modules": "3.3.14",
"@synthetixio/core-utils": "3.3.14",
"@synthetixio/docgen": "1.0.0",
"@synthetixio/router": "^3.3.0",
"@synthetixio/router": "3.3.7",
"@synthetixio/wei": "^2.74.4",
"ethers": "^5.7.2",
"hardhat": "^2.19.0",
"hardhat": "^2.19.5",
"solidity-docgen": "^0.6.0-beta.36",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"gitHead": "f4f3a06a9186b5152601f5ba4c6fe9136a635802"
"gitHead": "fa64ffd43d8017b9fd2ce2d3070fff3b752d0d2d"
}

@@ -10,3 +10,2 @@ import { coreBootstrap } from '@synthetixio/router/utils/tests';

'pyth.Pyth': ethers.Contract;
'pyth_erc7412_wrapper.PythERC7412Wrapper': ethers.Contract;
'snx.MintableToken': ethers.Contract;

@@ -13,0 +12,0 @@ 'usd.MintableToken': ethers.Contract;

@@ -6,13 +6,8 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

import { ethers } from 'ethers';
import hre from 'hardhat';
import { bn, bootstrapBuyback } from './bootstrap';
import { findSingleEvent } from '@synthetixio/core-utils/utils/ethers/events';
const parseUnits = ethers.utils.parseUnits;
describe('BuybackSnx', function () {
const { getContract, user, owner } = bootstrapBuyback();
let Pyth: ethers.Contract;
let PythERC7412Wrapper: ethers.Contract;
let BuybackSnx: ethers.Contract;

@@ -22,4 +17,3 @@ let SnxToken: ethers.Contract;

let priceFeedId: string;
const snxPrice = bn(10);
const snxAmount = bn(100);

@@ -30,10 +24,4 @@ const usdAmount = bn(5000);

const decimals = 8;
const price = parseUnits('10', decimals).toString();
const emaPrice = parseUnits('2', decimals).toString();
before('prepare environment', async () => {
const blockNumber = await hre.ethers.provider.getBlockNumber();
const timestamp = (await hre.ethers.provider.getBlock(blockNumber)).timestamp;
BuybackSnx = getContract('buyback_snx');
SnxToken = getContract('snx.MintableToken');

@@ -43,28 +31,2 @@ UsdToken = getContract('usd.MintableToken');

console.log('usd token address', UsdToken.address);
Pyth = getContract('pyth.Pyth');
PythERC7412Wrapper = getContract('pyth_erc7412_wrapper.PythERC7412Wrapper');
BuybackSnx = getContract('buyback_snx');
priceFeedId = '0x39d020f60982ed892abbcd4a06a276a9f9b7bfbce003204c110b6e488f502da3';
console.log('priceFeedId', priceFeedId.toString());
const resp = await Pyth.createPriceFeedUpdateData(
priceFeedId,
price,
1,
-decimals,
emaPrice,
1,
timestamp - 1,
0
);
console.log('Pyth.createPriceFeedUpdateData response', resp);
console.log('timestamp -1 ', timestamp - 1);
const fee = await Pyth['getUpdateFee(bytes[])']([resp]);
await Pyth.updatePriceFeeds([resp], { value: fee });
const priceUnsafe = await Pyth.getPriceUnsafe(priceFeedId);
console.log('Pyth.getPriceUnsafe(snxNodeId)', priceUnsafe.toString());
});

@@ -92,3 +54,3 @@

describe.skip('buyback', function () {
describe('buyback', function () {
let userAddress: string;

@@ -117,5 +79,2 @@ let userSnxBalanceBefore: any;

it('buys snx for usd', async () => {
const snxPrice = await PythERC7412Wrapper.getLatestPrice(priceFeedId, 60);
console.log('PythERC7412Wrapper.getLatestPrice(snxNodeId, 60)', snxPrice.toString());
const premium = await BuybackSnx.getPremium();

@@ -122,0 +81,0 @@ console.log('premium', premium.toString());

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc