@layerzerolabs/lz-evm-sdk-v1 1.5.19 → 1.5.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/deployments/arbitrum-mainnet/RelayerV2.json +18 -5
  2. package/deployments/arbitrum-mainnet/RelayerV2_Implementation.json +60 -47
  3. package/deployments/avalanche-mainnet/RelayerV2.json +18 -5
  4. package/deployments/avalanche-mainnet/RelayerV2_Implementation.json +61 -48
  5. package/deployments/avalanche-sandbox-local/DefaultProxyAdmin.json +273 -0
  6. package/deployments/avalanche-sandbox-local/Endpoint.json +1282 -0
  7. package/deployments/avalanche-sandbox-local/FPValidator.json +382 -0
  8. package/deployments/avalanche-sandbox-local/MPTValidator01.json +395 -0
  9. package/deployments/avalanche-sandbox-local/NonceContract.json +159 -0
  10. package/deployments/avalanche-sandbox-local/PriceFeed.json +760 -0
  11. package/deployments/avalanche-sandbox-local/PriceFeed_Implementation.json +776 -0
  12. package/deployments/avalanche-sandbox-local/PriceFeed_Proxy.json +233 -0
  13. package/deployments/avalanche-sandbox-local/RelayerV2.json +1169 -0
  14. package/deployments/avalanche-sandbox-local/RelayerV2_Implementation.json +1270 -0
  15. package/deployments/avalanche-sandbox-local/RelayerV2_Proxy.json +245 -0
  16. package/deployments/avalanche-sandbox-local/TreasuryV2.json +458 -0
  17. package/deployments/avalanche-sandbox-local/UltraLightNodeV2.json +1816 -0
  18. package/deployments/bsc-mainnet/RelayerV2.json +18 -5
  19. package/deployments/bsc-mainnet/RelayerV2_Implementation.json +61 -48
  20. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +273 -0
  21. package/deployments/bsc-sandbox-local/Endpoint.json +1282 -0
  22. package/deployments/bsc-sandbox-local/FPValidator.json +382 -0
  23. package/deployments/bsc-sandbox-local/MPTValidator01.json +395 -0
  24. package/deployments/bsc-sandbox-local/NonceContract.json +159 -0
  25. package/deployments/bsc-sandbox-local/PriceFeed.json +760 -0
  26. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +776 -0
  27. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +233 -0
  28. package/deployments/bsc-sandbox-local/RelayerV2.json +1169 -0
  29. package/deployments/bsc-sandbox-local/RelayerV2_Implementation.json +1270 -0
  30. package/deployments/bsc-sandbox-local/RelayerV2_Proxy.json +245 -0
  31. package/deployments/bsc-sandbox-local/TreasuryV2.json +458 -0
  32. package/deployments/bsc-sandbox-local/UltraLightNodeV2.json +1816 -0
  33. package/deployments/canto-mainnet/RelayerV2.json +19 -7
  34. package/deployments/canto-mainnet/RelayerV2_Implementation.json +61 -48
  35. package/deployments/celo-mainnet/RelayerV2.json +18 -5
  36. package/deployments/celo-mainnet/RelayerV2_Implementation.json +61 -48
  37. package/deployments/coredao-mainnet/RelayerV2.json +18 -5
  38. package/deployments/coredao-mainnet/RelayerV2_Implementation.json +61 -48
  39. package/deployments/dexalot-mainnet/RelayerV2.json +18 -5
  40. package/deployments/dexalot-mainnet/RelayerV2_Implementation.json +61 -48
  41. package/deployments/dfk-mainnet/RelayerV2.json +18 -5
  42. package/deployments/dfk-mainnet/RelayerV2_Implementation.json +61 -48
  43. package/deployments/dos-mainnet/RelayerV2.json +18 -5
  44. package/deployments/dos-mainnet/RelayerV2_Implementation.json +60 -47
  45. package/deployments/ethereum-mainnet/RelayerV2.json +18 -5
  46. package/deployments/ethereum-mainnet/RelayerV2_Implementation.json +61 -48
  47. package/deployments/fantom-mainnet/RelayerV2.json +18 -5
  48. package/deployments/fantom-mainnet/RelayerV2_Implementation.json +60 -47
  49. package/deployments/fuse-mainnet/RelayerV2.json +18 -5
  50. package/deployments/fuse-mainnet/RelayerV2_Implementation.json +60 -47
  51. package/deployments/gnosis-mainnet/RelayerV2.json +18 -5
  52. package/deployments/gnosis-mainnet/RelayerV2_Implementation.json +61 -48
  53. package/deployments/goerli-mainnet/RelayerV2.json +18 -5
  54. package/deployments/goerli-mainnet/RelayerV2_Implementation.json +61 -48
  55. package/deployments/harmony-mainnet/RelayerV2.json +18 -5
  56. package/deployments/harmony-mainnet/RelayerV2_Implementation.json +60 -47
  57. package/deployments/kava-mainnet/DefaultProxyAdmin.json +273 -0
  58. package/deployments/kava-mainnet/Endpoint.json +1282 -0
  59. package/deployments/kava-mainnet/FPValidator.json +382 -0
  60. package/deployments/kava-mainnet/MPTValidator01.json +395 -0
  61. package/deployments/kava-mainnet/NonceContract.json +159 -0
  62. package/deployments/kava-mainnet/PriceFeed.json +760 -0
  63. package/deployments/kava-mainnet/PriceFeed_Implementation.json +776 -0
  64. package/deployments/kava-mainnet/PriceFeed_Proxy.json +233 -0
  65. package/deployments/kava-mainnet/RelayerV2.json +1182 -0
  66. package/deployments/kava-mainnet/RelayerV2_Implementation.json +1283 -0
  67. package/deployments/kava-mainnet/RelayerV2_Proxy.json +245 -0
  68. package/deployments/kava-mainnet/TreasuryV2.json +458 -0
  69. package/deployments/kava-mainnet/UltraLightNodeV2.json +1816 -0
  70. package/deployments/klaytn-mainnet/RelayerV2.json +18 -5
  71. package/deployments/klaytn-mainnet/RelayerV2_Implementation.json +61 -48
  72. package/deployments/meter-mainnet/RelayerV2.json +19 -7
  73. package/deployments/meter-mainnet/RelayerV2_Implementation.json +64 -51
  74. package/deployments/metis-mainnet/RelayerV2.json +18 -5
  75. package/deployments/metis-mainnet/RelayerV2_Implementation.json +60 -47
  76. package/deployments/moonbeam-mainnet/RelayerV2.json +18 -5
  77. package/deployments/moonbeam-mainnet/RelayerV2_Implementation.json +61 -48
  78. package/deployments/moonriver-mainnet/RelayerV2.json +18 -5
  79. package/deployments/moonriver-mainnet/RelayerV2_Implementation.json +61 -48
  80. package/deployments/nova-mainnet/RelayerV2.json +19 -7
  81. package/deployments/nova-mainnet/RelayerV2_Implementation.json +60 -47
  82. package/deployments/okx-mainnet/RelayerV2.json +18 -5
  83. package/deployments/okx-mainnet/RelayerV2_Implementation.json +61 -48
  84. package/deployments/optimism-mainnet/RelayerV2.json +18 -5
  85. package/deployments/optimism-mainnet/RelayerV2_Implementation.json +61 -48
  86. package/deployments/optimism-testnet/RelayerV2.json +18 -5
  87. package/deployments/optimism-testnet/RelayerV2_Implementation.json +60 -47
  88. package/deployments/polygon-mainnet/RelayerV2.json +18 -5
  89. package/deployments/polygon-mainnet/RelayerV2_Implementation.json +67 -54
  90. package/deployments/sepolia-mainnet/RelayerV2.json +18 -5
  91. package/deployments/sepolia-mainnet/RelayerV2_Implementation.json +61 -48
  92. package/deployments/shrapnel-mainnet/RelayerV2.json +18 -5
  93. package/deployments/shrapnel-mainnet/RelayerV2_Implementation.json +60 -47
  94. package/deployments/tenet-mainnet/RelayerV2.json +19 -7
  95. package/deployments/tenet-mainnet/RelayerV2_Implementation.json +60 -47
  96. package/deployments/zkpolygon-mainnet/RelayerV2.json +18 -5
  97. package/deployments/zkpolygon-mainnet/RelayerV2_Implementation.json +60 -47
  98. package/deployments/zksync-mainnet/RelayerV2.json +62 -49
  99. package/deployments/zksync-mainnet/RelayerV2_Implementation.json +96 -83
  100. package/dist/chaintypes/RelayerV2.sol/IForwarder.d.ts +43 -0
  101. package/dist/chaintypes/RelayerV2.sol/IForwarder.d.ts.map +1 -0
  102. package/dist/chaintypes/RelayerV2.sol/IForwarder.js +2 -0
  103. package/dist/chaintypes/RelayerV2.sol/IStargateComposer.d.ts +43 -0
  104. package/dist/chaintypes/RelayerV2.sol/IStargateComposer.d.ts.map +1 -0
  105. package/dist/chaintypes/RelayerV2.sol/IStargateComposer.js +2 -0
  106. package/dist/chaintypes/RelayerV2.sol/RelayerV2.d.ts +731 -0
  107. package/dist/chaintypes/RelayerV2.sol/RelayerV2.d.ts.map +1 -0
  108. package/dist/chaintypes/RelayerV2.sol/RelayerV2.js +2 -0
  109. package/dist/chaintypes/RelayerV2.sol/index.d.ts +3 -0
  110. package/dist/chaintypes/RelayerV2.sol/index.d.ts.map +1 -0
  111. package/dist/chaintypes/RelayerV2.sol/index.js +2 -0
  112. package/dist/chaintypes/factories/RelayerV2.sol/IForwarder__factory.d.ts +19 -0
  113. package/dist/chaintypes/factories/RelayerV2.sol/IForwarder__factory.d.ts.map +1 -0
  114. package/dist/chaintypes/factories/RelayerV2.sol/IForwarder__factory.js +32 -0
  115. package/dist/chaintypes/factories/RelayerV2.sol/IStargateComposer__factory.d.ts +19 -0
  116. package/dist/chaintypes/factories/RelayerV2.sol/IStargateComposer__factory.d.ts.map +1 -0
  117. package/dist/chaintypes/factories/RelayerV2.sol/IStargateComposer__factory.js +32 -0
  118. package/dist/chaintypes/factories/RelayerV2.sol/RelayerV2__factory.d.ts +772 -0
  119. package/dist/chaintypes/factories/RelayerV2.sol/RelayerV2__factory.d.ts.map +1 -0
  120. package/dist/chaintypes/factories/RelayerV2.sol/RelayerV2__factory.js +1012 -0
  121. package/dist/chaintypes/factories/RelayerV2.sol/index.d.ts +3 -0
  122. package/dist/chaintypes/factories/RelayerV2.sol/index.d.ts.map +1 -0
  123. package/dist/chaintypes/factories/RelayerV2.sol/index.js +10 -0
  124. package/dist/chaintypes/factories/messagelib-e2/libs/ExecutorOptions__factory.d.ts +72 -0
  125. package/dist/chaintypes/factories/messagelib-e2/libs/ExecutorOptions__factory.d.ts.map +1 -0
  126. package/dist/chaintypes/factories/messagelib-e2/libs/ExecutorOptions__factory.js +107 -0
  127. package/dist/chaintypes/messagelib-e2/libs/ExecutorOptions.d.ts +75 -0
  128. package/dist/chaintypes/messagelib-e2/libs/ExecutorOptions.d.ts.map +1 -0
  129. package/dist/chaintypes/messagelib-e2/libs/ExecutorOptions.js +2 -0
  130. package/dist/index.d.ts +1 -0
  131. package/dist/index.d.ts.map +1 -1
  132. package/dist/index.js +23 -0
  133. package/package.json +6 -3
@@ -1,5 +1,5 @@
1
1
  {
2
- "address": "0x967Ed476D83063969e0146642ca4D1514a945Ca3",
2
+ "address": "0xC1EC25A9e8a8DE5Aa346f635B33e5B74c4c081aF",
3
3
  "abi": [
4
4
  {
5
5
  "anonymous": false,
@@ -171,6 +171,19 @@
171
171
  "name": "Withdraw",
172
172
  "type": "event"
173
173
  },
174
+ {
175
+ "inputs": [],
176
+ "name": "AIRDROP_GAS_LIMIT",
177
+ "outputs": [
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "",
181
+ "type": "uint256"
182
+ }
183
+ ],
184
+ "stateMutability": "view",
185
+ "type": "function"
186
+ },
174
187
  {
175
188
  "inputs": [
176
189
  {
@@ -222,7 +235,7 @@
222
235
  "outputs": [
223
236
  {
224
237
  "internalType": "uint256",
225
- "name": "",
238
+ "name": "fee",
226
239
  "type": "uint256"
227
240
  }
228
241
  ],
@@ -534,7 +547,7 @@
534
547
  "name": "priceFeed",
535
548
  "outputs": [
536
549
  {
537
- "internalType": "contract ILayerZeroPriceFeed",
550
+ "internalType": "contract ILayerZeroPriceFeedV2",
538
551
  "name": "",
539
552
  "type": "address"
540
553
  }
@@ -918,28 +931,28 @@
918
931
  "type": "function"
919
932
  }
920
933
  ],
921
- "transactionHash": "0x6f93e40dc9c0384b6fa53af9490622ea86e7bb72c97e2231c1e9c657bd4b9872",
934
+ "transactionHash": "0xe3c269216190cd2067e567a6e4d5731a981c82c2e626434e6c37003934804b6d",
922
935
  "receipt": {
923
936
  "to": null,
924
937
  "from": "0x9F403140Bc0574D7d36eA472b82DAa1Bbd4eF327",
925
- "contractAddress": "0x967Ed476D83063969e0146642ca4D1514a945Ca3",
926
- "transactionIndex": 20,
927
- "gasUsed": "3263233",
938
+ "contractAddress": "0xC1EC25A9e8a8DE5Aa346f635B33e5B74c4c081aF",
939
+ "transactionIndex": 37,
940
+ "gasUsed": "2973349",
928
941
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
929
- "blockHash": "0xbf49f7a22e1845b3c7c9c801f6c8f0c58769dd39cfc15571f477b463b923aa84",
930
- "transactionHash": "0x6f93e40dc9c0384b6fa53af9490622ea86e7bb72c97e2231c1e9c657bd4b9872",
942
+ "blockHash": "0x9d7e866c3f0cdd36ef45913164009783322765a8d661f304a739ac65360f5e2e",
943
+ "transactionHash": "0xe3c269216190cd2067e567a6e4d5731a981c82c2e626434e6c37003934804b6d",
931
944
  "logs": [],
932
- "blockNumber": 3343208,
933
- "cumulativeGasUsed": "5602859",
945
+ "blockNumber": 3774550,
946
+ "cumulativeGasUsed": "8022104",
934
947
  "status": 1,
935
948
  "byzantium": true
936
949
  },
937
950
  "args": [],
938
- "numDeployments": 4,
939
- "solcInputHash": "f6f2afdc103bffd43fe559d2c8478afc",
940
- "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApproveAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalFee\",\"type\":\"uint256\"}],\"name\":\"AssignJob\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"outboundProofType\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"dstNativeAmtCap\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"baseGas\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"gasPerByte\",\"type\":\"uint64\"}],\"name\":\"SetDstConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"dstPriceRatio\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"dstGasPriceInWei\",\"type\":\"uint128\"}],\"name\":\"SetDstPrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"priceConfigUpdater\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allow\",\"type\":\"bool\"}],\"name\":\"SetPriceConfigUpdater\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"ValueTransferFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"approvedAddresses\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_outboundProofType\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_userApplication\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_payloadSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_adapterParams\",\"type\":\"bytes\"}],\"name\":\"assignJob\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstConfigLookup\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"dstNativeAmtCap\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"baseGas\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasPerByte\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstFloorMarginsUSD\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstMultipliers\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"}],\"name\":\"dstPriceLookup\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"dstPriceRatio\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"dstGasPriceInWei\",\"type\":\"uint128\"}],\"internalType\":\"struct RelayerV2.DstPrice\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstPriceLookupOld\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"dstPriceRatio\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"dstGasPriceInWei\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fpBytes\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_outboundProofType\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_userApplication\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_payloadSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_adapterParams\",\"type\":\"bytes\"}],\"name\":\"getFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_uln\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayerAddress\",\"type\":\"address\"}],\"name\":\"isApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mptOverhead\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiplierBps\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"onUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"priceConfigUpdaters\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceFeed\",\"outputs\":[{\"internalType\":\"contract ILayerZeroPriceFeed\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayerAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approve\",\"type\":\"bool\"}],\"name\":\"setApprovedAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_outboundProofType\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"_dstNativeAmtCap\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"_baseGas\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_gasPerByte\",\"type\":\"uint64\"}],\"name\":\"setDstConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"floorMargin\",\"type\":\"uint128\"}],\"internalType\":\"struct RelayerV2.DstFloorMargin[]\",\"name\":\"_margins\",\"type\":\"tuple[]\"}],\"name\":\"setDstFloorMarginsUSD\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"_dstPriceRatio\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"_dstGasPriceInWei\",\"type\":\"uint128\"}],\"name\":\"setDstPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"multiplier\",\"type\":\"uint128\"}],\"internalType\":\"struct RelayerV2.DstMultiplier[]\",\"name\":\"_multipliers\",\"type\":\"tuple[]\"}],\"name\":\"setDstPriceMultipliers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_paused\",\"type\":\"bool\"}],\"name\":\"setPause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceConfigUpdater\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_allow\",\"type\":\"bool\"}],\"name\":\"setPriceConfigUpdater\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"setPriceFeed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"_multiplierBps\",\"type\":\"uint128\"}],\"name\":\"setPriceMultiplierBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stargateAddress\",\"type\":\"address\"}],\"name\":\"setStargateAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stargateBridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uln\",\"outputs\":[{\"internalType\":\"contract ILayerZeroUltraLightNodeV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"validateProofBytes\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_dstAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_transactionProof\",\"type\":\"bytes\"}],\"name\":\"validateTransactionProofV1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_dstAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_transactionProof\",\"type\":\"bytes\"},{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"validateTransactionProofV2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/RelayerV2.sol\":\"RelayerV2\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":30000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/Initializable.sol\\\";\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n function __Ownable_init() internal initializer {\\n __Context_init_unchained();\\n __Ownable_init_unchained();\\n }\\n\\n function __Ownable_init_unchained() internal initializer {\\n address msgSender = _msgSender();\\n _owner = msgSender;\\n emit OwnershipTransferred(address(0), msgSender);\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n emit OwnershipTransferred(_owner, address(0));\\n _owner = address(0);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n emit OwnershipTransferred(_owner, newOwner);\\n _owner = newOwner;\\n }\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0xba7ba5b188c0b27489bad1efee8d8b1dcebb502785192b22e3d69824a802983d\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// solhint-disable-next-line compiler-version\\npragma solidity >=0.4.24 <0.8.0;\\n\\nimport \\\"../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n */\\nabstract contract Initializable {\\n\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n bool private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Modifier to protect an initializer function from being invoked twice.\\n */\\n modifier initializer() {\\n require(_initializing || _isConstructor() || !_initialized, \\\"Initializable: contract is already initialized\\\");\\n\\n bool isTopLevelCall = !_initializing;\\n if (isTopLevelCall) {\\n _initializing = true;\\n _initialized = true;\\n }\\n\\n _;\\n\\n if (isTopLevelCall) {\\n _initializing = false;\\n }\\n }\\n\\n /// @dev Returns true if and only if the function is running in the constructor\\n function _isConstructor() private view returns (bool) {\\n return !AddressUpgradeable.isContract(address(this));\\n }\\n}\\n\",\"keccak256\":\"0xd8e4eb08dcc1d1860fb347ba5ffd595242b9a1b66d49a47f2b4cb51c3f35017e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x1fd568d8b8ca285c801fbd1d3f40f848434d850a682c0273786cada3e0b84057\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\nimport \\\"../proxy/Initializable.sol\\\";\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with GSN meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal initializer {\\n __Context_init_unchained();\\n }\\n\\n function __Context_init_unchained() internal initializer {\\n }\\n function _msgSender() internal view virtual returns (address payable) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes memory) {\\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\\n return msg.data;\\n }\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0xbbf8a21b9a66c48d45ff771b8563c6df19ba451d63dfb8380a865c1e1f29d1a0\",\"license\":\"MIT\"},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (a == 0) return 0;\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {trySub}.\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryDiv}.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting with custom message when dividing by zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryMod}.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0xe22a1fc7400ae196eba2ad1562d0386462b00a6363b742d55a2fd2021a58586f\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0xbd74f587ab9b9711801baf667db1426e4a03fd2d7f15af33e0e0d0394e7cef76\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n // solhint-disable-next-line max-line-length\\n require((value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).add(value);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).sub(value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) { // Return data is optional\\n // solhint-disable-next-line max-line-length\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\",\"keccak256\":\"0xc77dd6233a82c7c6e3dc49da8f3456baa00ecd3ea4dfa9222002a9aebf155dcd\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf89f005a3d98f7768cdee2583707db0ac725cf567d455751af32ee68132f3db3\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor () {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0x1153f6dd334c01566417b8c551122450542a2b75a2bbb379d59a8c320ed6da28\",\"license\":\"MIT\"},\"contracts/RelayerV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.7.6;\\npragma abicoder v2;\\n\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\nimport \\\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\\\";\\nimport \\\"@openzeppelin/contracts/math/SafeMath.sol\\\";\\nimport \\\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\\\";\\nimport \\\"hardhat-deploy/solc_0.7/proxy/Proxied.sol\\\";\\n\\nimport \\\"./interfaces/ILayerZeroRelayerV2.sol\\\";\\nimport \\\"./interfaces/ILayerZeroUltraLightNodeV2.sol\\\";\\nimport \\\"./interfaces/ILayerZeroPriceFeed.sol\\\";\\n\\ncontract RelayerV2 is ReentrancyGuard, OwnableUpgradeable, Proxied, ILayerZeroRelayerV2 {\\n using SafeERC20 for IERC20;\\n using SafeMath for uint;\\n using SafeMath for uint128;\\n using SafeMath for uint64;\\n\\n ILayerZeroUltraLightNodeV2 public uln;\\n address public stargateBridgeAddress;\\n\\n struct DstPrice {\\n uint128 dstPriceRatio; // 10^10\\n uint128 dstGasPriceInWei;\\n }\\n\\n struct DstConfig {\\n uint128 dstNativeAmtCap;\\n uint64 baseGas;\\n uint64 gasPerByte;\\n }\\n\\n struct DstMultiplier {\\n uint16 chainId;\\n uint128 multiplier;\\n }\\n\\n struct DstFloorMargin {\\n uint16 chainId;\\n uint128 floorMargin;\\n }\\n\\n // [_chainId] => DstPriceData. change often\\n mapping(uint16 => DstPrice) public dstPriceLookupOld;\\n // [_chainId][_outboundProofType] => DstConfig. change much less often\\n mapping(uint16 => mapping(uint16 => DstConfig)) public dstConfigLookup;\\n mapping(address => bool) public approvedAddresses;\\n\\n event Withdraw(address to, uint amount);\\n event ApproveAddress(address addr, bool approved);\\n event SetPriceConfigUpdater(address priceConfigUpdater, bool allow);\\n event AssignJob(uint totalFee);\\n event ValueTransferFailed(address indexed to, uint indexed quantity);\\n event SetDstPrice(uint16 chainId, uint128 dstPriceRatio, uint128 dstGasPriceInWei);\\n event SetDstConfig(\\n uint16 chainId,\\n uint16 outboundProofType,\\n uint128 dstNativeAmtCap,\\n uint64 baseGas,\\n uint64 gasPerByte\\n );\\n\\n // new pauseable relayer\\n bool public paused;\\n\\n // Update for Price Feed\\n ILayerZeroPriceFeed public priceFeed;\\n // multipler for airdrop\\n uint128 public multiplierBps;\\n\\n // PriceFeedContract Upgrade\\n // all encoded param bytes except for proof for validateTransactionProofV1\\n uint16 public validateProofBytes;\\n uint16 public fpBytes;\\n uint16 public mptOverhead;\\n\\n // [chainId] => [multiplier]\\n mapping(uint16 => uint128) public dstMultipliers;\\n // [chainId] => [floor margin in USD]\\n mapping(uint16 => uint128) public dstFloorMarginsUSD;\\n mapping(address => bool) public priceConfigUpdaters;\\n\\n // owner is always approved\\n modifier onlyApproved() {\\n if (owner() != msg.sender) {\\n require(isApproved(msg.sender), \\\"Relayer: not approved\\\");\\n }\\n _;\\n }\\n\\n modifier onlyPriceConfigUpdater() {\\n if (owner() != msg.sender && !approvedAddresses[msg.sender]) {\\n require(priceConfigUpdaters[msg.sender], \\\"Relayer: not updater\\\");\\n }\\n _;\\n }\\n\\n function initialize(address _uln, address _priceFeed) public proxied initializer {\\n __Ownable_init();\\n uln = ILayerZeroUltraLightNodeV2(_uln);\\n setApprovedAddress(address(this), true);\\n multiplierBps = 12000;\\n priceFeed = ILayerZeroPriceFeed(_priceFeed);\\n validateProofBytes = 164;\\n fpBytes = 160;\\n mptOverhead = 500;\\n }\\n\\n function onUpgrade(address _priceFeed) public proxied {\\n multiplierBps = 12000;\\n priceFeed = ILayerZeroPriceFeed(_priceFeed);\\n validateProofBytes = 164;\\n fpBytes = 160;\\n mptOverhead = 500;\\n }\\n\\n //----------------------------------------------------------------------------------\\n // onlyApproved\\n\\n function setDstPrice(uint16 _chainId, uint128 _dstPriceRatio, uint128 _dstGasPriceInWei) external onlyApproved {\\n // No longer used: Write prices in PriceFeed.\\n }\\n\\n function setPriceFeed(address _priceFeed) external onlyApproved {\\n priceFeed = ILayerZeroPriceFeed(_priceFeed);\\n }\\n\\n function setPriceMultiplierBps(uint128 _multiplierBps) external onlyApproved {\\n multiplierBps = _multiplierBps;\\n }\\n\\n function setDstPriceMultipliers(DstMultiplier[] calldata _multipliers) external onlyPriceConfigUpdater {\\n for (uint i = 0; i < _multipliers.length; i++) {\\n DstMultiplier calldata _data = _multipliers[i];\\n dstMultipliers[_data.chainId] = _data.multiplier;\\n }\\n }\\n\\n function setDstFloorMarginsUSD(DstFloorMargin[] calldata _margins) external onlyPriceConfigUpdater {\\n for (uint i = 0; i < _margins.length; i++) {\\n DstFloorMargin calldata _data = _margins[i];\\n dstFloorMarginsUSD[_data.chainId] = _data.floorMargin;\\n }\\n }\\n\\n function setDstConfig(\\n uint16 _chainId,\\n uint16 _outboundProofType,\\n uint128 _dstNativeAmtCap,\\n uint64 _baseGas,\\n uint64 _gasPerByte\\n ) external onlyApproved {\\n dstConfigLookup[_chainId][_outboundProofType] = DstConfig(_dstNativeAmtCap, _baseGas, _gasPerByte);\\n emit SetDstConfig(_chainId, _outboundProofType, _dstNativeAmtCap, _baseGas, _gasPerByte);\\n }\\n\\n function setStargateAddress(address _stargateAddress) external onlyApproved {\\n stargateBridgeAddress = _stargateAddress;\\n }\\n\\n //----------------------------------------------------------------------------------\\n // onlyOwner\\n\\n function setApprovedAddress(address _relayerAddress, bool _approve) public onlyOwner {\\n approvedAddresses[_relayerAddress] = _approve;\\n emit ApproveAddress(_relayerAddress, _approve);\\n }\\n\\n function setPriceConfigUpdater(address _priceConfigUpdater, bool _allow) public onlyOwner {\\n priceConfigUpdaters[_priceConfigUpdater] = _allow;\\n emit SetPriceConfigUpdater(_priceConfigUpdater, _allow);\\n }\\n\\n function setPause(bool _paused) public onlyOwner {\\n paused = _paused;\\n }\\n\\n // txType 1\\n // bytes [2 32 ]\\n // fields [txType extraGas]\\n // txType 2\\n // bytes [2 32 32 bytes[] ]\\n // fields [txType extraGas dstNativeAmt dstNativeAddress]\\n // User App Address is not used in this version\\n function _getPrices(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address,\\n uint _payloadSize,\\n bytes memory _adapterParameters\\n ) internal view returns (uint) {\\n require(!paused, \\\"Admin: paused\\\");\\n // decoding the _adapterParameters - reverts if type 2 and there is no dstNativeAddress\\n require(\\n _adapterParameters.length == 34 || _adapterParameters.length > 66,\\n \\\"Relayer: wrong _adapterParameters size\\\"\\n );\\n uint16 txType;\\n uint extraGas;\\n assembly {\\n txType := mload(add(_adapterParameters, 2))\\n extraGas := mload(add(_adapterParameters, 34))\\n }\\n require(extraGas > 0, \\\"Relayer: gas too low\\\");\\n require(txType == 1 || txType == 2, \\\"Relayer: unsupported txType\\\");\\n\\n DstConfig storage dstConfig = dstConfigLookup[_dstChainId][_outboundProofType];\\n\\n uint dstNativeAmt = 0;\\n if (txType == 2) {\\n assembly {\\n dstNativeAmt := mload(add(_adapterParameters, 66))\\n }\\n require(dstConfig.dstNativeAmtCap >= dstNativeAmt, \\\"Relayer: dstNativeAmt too large\\\");\\n }\\n\\n // validateTransactionProof bytes = fixedBytes + proofBytes\\n // V2 has an extra 32 bytes for payable address\\n uint totalFixedBytes = txType == 2 ? uint(validateProofBytes).add(32) : validateProofBytes;\\n uint proofBytes = _outboundProofType == 2 ? _payloadSize.add(fpBytes) : _payloadSize.add(mptOverhead);\\n\\n uint16 dstChainId = _dstChainId; // stack too deep\\n (uint fee, uint128 priceRatio) = priceFeed.estimateFeeByChain(\\n dstChainId,\\n totalFixedBytes.add(proofBytes),\\n dstConfig.baseGas.add(extraGas)\\n );\\n uint airdropAmount = 0;\\n if (dstNativeAmt > 0) {\\n // gas saver if no airdrop\\n airdropAmount = dstNativeAmt.mul(priceRatio).div(1e10).mul(multiplierBps).div(10000); // cheaper than priceFeed.getPriceRatioDenominator()\\n }\\n return _getDstTxCost(dstChainId, fee).add(airdropAmount);\\n }\\n\\n function _getDstTxCost(uint16 _dstChainId, uint _fee) private view returns (uint) {\\n uint128 _dstMultiplier = dstMultipliers[_dstChainId];\\n if (_dstMultiplier == 0) {\\n _dstMultiplier = multiplierBps;\\n }\\n uint dstTxCostWithMultiplier = _fee.mul(_dstMultiplier).div(10000);\\n\\n uint nativeTokenPriceUSD = priceFeed.nativeTokenPriceUSD();\\n if (nativeTokenPriceUSD == 0) {\\n return dstTxCostWithMultiplier;\\n }\\n\\n uint priceDenominator = 1e18;\\n uint dstTxCostWithMargin = _fee.add(\\n dstFloorMarginsUSD[_dstChainId].mul(priceDenominator).div(nativeTokenPriceUSD)\\n );\\n\\n return dstTxCostWithMargin > dstTxCostWithMultiplier ? dstTxCostWithMargin : dstTxCostWithMultiplier;\\n }\\n\\n function getFee(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external view override returns (uint) {\\n require(_payloadSize <= 10000, \\\"Relayer: _payloadSize tooooo big\\\");\\n return _getPrices(_dstChainId, _outboundProofType, _userApplication, _payloadSize, _adapterParams);\\n }\\n\\n // view function to convert pricefeed price to current price (for backwards compatibility)\\n function dstPriceLookup(uint16 _dstChainId) public view returns (DstPrice memory) {\\n ILayerZeroPriceFeed.Price memory price = priceFeed.getPrice(_dstChainId);\\n return DstPrice(price.priceRatio, price.gasPriceInUnit);\\n }\\n\\n function isApproved(address _relayerAddress) public view returns (bool) {\\n return approvedAddresses[_relayerAddress];\\n }\\n\\n function assignJob(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external override returns (uint) {\\n require(msg.sender == address(uln), \\\"Relayer: invalid uln\\\");\\n require(_payloadSize <= 10000, \\\"Relayer: _payloadSize tooooo big\\\");\\n uint fee = _getPrices(_dstChainId, _outboundProofType, _userApplication, _payloadSize, _adapterParams);\\n emit AssignJob(fee);\\n return fee;\\n }\\n\\n function withdrawFee(address payable _to, uint _amount) external override onlyApproved {\\n uint totalFee = uln.accruedNativeFee(address(this));\\n require(_amount <= totalFee, \\\"Relayer: not enough fee for withdrawal\\\");\\n uln.withdrawNative(_to, _amount);\\n }\\n\\n function withdrawToken(address _token, address _to, uint _amount) external onlyApproved {\\n uint total = IERC20(_token).balanceOf(address(this));\\n require(_amount <= total, \\\"Relayer: not enough fee for withdrawal\\\");\\n IERC20(_token).safeTransfer(_to, _amount);\\n }\\n\\n function validateTransactionProofV2(\\n uint16 _srcChainId,\\n address _dstAddress,\\n uint _gasLimit,\\n bytes32 _blockHash,\\n bytes32 _data,\\n bytes calldata _transactionProof,\\n address payable _to\\n ) external payable onlyApproved nonReentrant {\\n (bool sent, ) = _to.call{value: msg.value}(\\\"\\\");\\n //require(sent, \\\"Relayer: failed to send ether\\\");\\n if (!sent) {\\n emit ValueTransferFailed(_to, msg.value);\\n }\\n uln.validateTransactionProof(_srcChainId, _dstAddress, _gasLimit, _blockHash, _data, _transactionProof);\\n }\\n\\n function validateTransactionProofV1(\\n uint16 _srcChainId,\\n address _dstAddress,\\n uint _gasLimit,\\n bytes32 _blockHash,\\n bytes32 _data,\\n bytes calldata _transactionProof\\n ) external onlyApproved nonReentrant {\\n uln.validateTransactionProof(_srcChainId, _dstAddress, _gasLimit, _blockHash, _data, _transactionProof);\\n }\\n}\\n\",\"keccak256\":\"0x9e7c2cfe19f739494cb23f6fcceff7c3c146ef2a7b22232809b01c2a5ef3edc9\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroPriceFeed.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.7.0;\\npragma abicoder v2;\\n\\ninterface ILayerZeroPriceFeed {\\n /**\\n * @dev\\n * priceRatio: (USD price of 1 unit of remote native token in unit of local native token) * PRICE_RATIO_DENOMINATOR\\n */\\n\\n struct Price {\\n uint128 priceRatio; // float value * 10 ^ 10, decimal awared. for aptos to evm, the basis would be (10^18 / 10^8) * 10 ^10 = 10 ^ 20.\\n uint64 gasPriceInUnit; // for evm, it is in wei, for aptos, it is in octas.\\n uint32 gasPerByte;\\n }\\n\\n struct UpdatePrice {\\n uint16 chainId;\\n Price price;\\n }\\n\\n /**\\n * @dev\\n * ArbGasInfo.go:GetPricesInArbGas\\n *\\n */\\n struct ArbitrumPriceExt {\\n uint64 gasPerL2Tx; // L2 overhead\\n uint32 gasPerL1CallDataByte;\\n }\\n\\n struct UpdatePriceExt {\\n uint16 chainId;\\n Price price;\\n ArbitrumPriceExt extend;\\n }\\n\\n function getPrice(uint16 _dstChainId) external view returns (Price memory);\\n\\n function getPriceRatioDenominator() external view returns (uint128);\\n\\n function estimateFeeByChain(\\n uint16 _dstChainId,\\n uint _callDataSize,\\n uint _gas\\n ) external view returns (uint fee, uint128 priceRatio);\\n\\n function nativeTokenPriceUSD() external view returns (uint128);\\n}\\n\",\"keccak256\":\"0x4f339e20ed31d0d8ee7426bb2bd6fe6d5fa5ee3282af2a94438f6d06bd10fae1\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroRelayerV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.7.0;\\n\\ninterface ILayerZeroRelayerV2 {\\n // @notice query price and assign jobs at the same time\\n // @param _dstChainId - the destination endpoint identifier\\n // @param _outboundProofType - the proof type identifier to specify proof to be relayed\\n // @param _userApplication - the source sending contract address. relayers may apply price discrimination to user apps\\n // @param _payloadSize - the length of the payload. it is an indicator of gas usage for relaying cross-chain messages\\n // @param _adapterParams - optional parameters for extra service plugins, e.g. sending dust tokens at the destination chain\\n function assignJob(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external returns (uint price);\\n\\n // @notice query the relayer price for relaying the payload and its proof to the destination chain\\n // @param _dstChainId - the destination endpoint identifier\\n // @param _outboundProofType - the proof type identifier to specify proof to be relayed\\n // @param _userApplication - the source sending contract address. relayers may apply price discrimination to user apps\\n // @param _payloadSize - the length of the payload. it is an indicator of gas usage for relaying cross-chain messages\\n // @param _adapterParams - optional parameters for extra service plugins, e.g. sending dust tokens at the destination chain\\n function getFee(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external view returns (uint price);\\n\\n // @notice withdraw the accrued fee in ultra light node\\n // @param _to - the fee receiver\\n // @param _amount - the withdrawal amount\\n function withdrawFee(address payable _to, uint _amount) external;\\n}\\n\",\"keccak256\":\"0x107681e3ab53b6b34780fe6c540e4ad2d149f94fdfe3e7b16e1101dc92ae914e\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroUltraLightNodeV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.7.0;\\npragma abicoder v2;\\n\\ninterface ILayerZeroUltraLightNodeV2 {\\n // Relayer functions\\n function validateTransactionProof(\\n uint16 _srcChainId,\\n address _dstAddress,\\n uint _gasLimit,\\n bytes32 _lookupHash,\\n bytes32 _blockData,\\n bytes calldata _transactionProof\\n ) external;\\n\\n // an Oracle delivers the block data using updateHash()\\n function updateHash(uint16 _srcChainId, bytes32 _lookupHash, uint _confirmations, bytes32 _blockData) external;\\n\\n // can only withdraw the receivable of the msg.sender\\n function withdrawNative(address payable _to, uint _amount) external;\\n\\n function withdrawZRO(address _to, uint _amount) external;\\n\\n // view functions\\n function getAppConfig(\\n uint16 _remoteChainId,\\n address _userApplicationAddress\\n ) external view returns (ApplicationConfiguration memory);\\n\\n function accruedNativeFee(address _address) external view returns (uint);\\n\\n struct ApplicationConfiguration {\\n uint16 inboundProofLibraryVersion;\\n uint64 inboundBlockConfirmations;\\n address relayer;\\n uint16 outboundProofType;\\n uint64 outboundBlockConfirmations;\\n address oracle;\\n }\\n\\n event HashReceived(\\n uint16 indexed srcChainId,\\n address indexed oracle,\\n bytes32 lookupHash,\\n bytes32 blockData,\\n uint confirmations\\n );\\n event RelayerParams(bytes adapterParams, uint16 outboundProofType);\\n event Packet(bytes payload);\\n event InvalidDst(\\n uint16 indexed srcChainId,\\n bytes srcAddress,\\n address indexed dstAddress,\\n uint64 nonce,\\n bytes32 payloadHash\\n );\\n event PacketReceived(\\n uint16 indexed srcChainId,\\n bytes srcAddress,\\n address indexed dstAddress,\\n uint64 nonce,\\n bytes32 payloadHash\\n );\\n event AppConfigUpdated(address indexed userApplication, uint indexed configType, bytes newConfig);\\n event AddInboundProofLibraryForChain(uint16 indexed chainId, address lib);\\n event EnableSupportedOutboundProof(uint16 indexed chainId, uint16 proofType);\\n event SetChainAddressSize(uint16 indexed chainId, uint size);\\n event SetDefaultConfigForChainId(\\n uint16 indexed chainId,\\n uint16 inboundProofLib,\\n uint64 inboundBlockConfirm,\\n address relayer,\\n uint16 outboundProofType,\\n uint64 outboundBlockConfirm,\\n address oracle\\n );\\n event SetDefaultAdapterParamsForChainId(uint16 indexed chainId, uint16 indexed proofType, bytes adapterParams);\\n event SetLayerZeroToken(address indexed tokenAddress);\\n event SetRemoteUln(uint16 indexed chainId, bytes32 uln);\\n event SetTreasury(address indexed treasuryAddress);\\n event WithdrawZRO(address indexed msgSender, address indexed to, uint amount);\\n event WithdrawNative(address indexed msgSender, address indexed to, uint amount);\\n}\\n\",\"keccak256\":\"0xf1f36bbbc40d03b96affa151affb47da75a1b69dc79f4b311841a072d12fdd22\",\"license\":\"BUSL-1.1\"},\"hardhat-deploy/solc_0.7/proxy/Proxied.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\",\"keccak256\":\"0x760a00cd889372a2358732403723d8a13cb8b02bb82450a9bf5488177828aa79\",\"license\":\"MIT\"}},\"version\":1}",
941
- "bytecode": "0x608060405234801561001057600080fd5b5060016000556139d4806100256000396000f3fe60806040526004361061026a5760003560e01c8063741bef1a11610153578063b8f8bad4116100cb578063d5f8b0141161007f578063f2fde38b11610064578063f2fde38b146106aa578063fa34c84e146106ca578063fd9be522146106ea5761026a565b8063d5f8b0141461066a578063f136a8741461068a5761026a565b8063bf4dab51116100b0578063bf4dab511461060a578063c03f15291461062a578063c3b04e7f1461064a5761026a565b8063b8f8bad4146105ca578063bedb86fb146105ea5761026a565b80638576db67116101225780638da5cb5b116101075780638da5cb5b1461058b57806398dabd50146105a0578063ac353e04146105b55761026a565b80638576db671461053d5780638644c5781461055d5761026a565b8063741bef1a146104c6578063765a8a54146104db578063801db1fe1461050857806381ba209a146105285761026a565b8063575765e2116101e6578063673448dd116101b55780636c473aff1161019a5780636c473aff1461047c578063715018a614610491578063724e78da146104a65761026a565b8063673448dd1461043a57806369cf4e3a1461045a5761026a565b8063575765e2146103a95780635886ea65146103c95780635c975abb146103f65780636348d269146104185761026a565b8063252f7b011161023d578063485cc95511610222578063485cc9551461033c5780634eeba2501461035c57806355b35249146103895761026a565b8063252f7b01146102fc5780633f1034871461031c5761026a565b806301e336671461026f57806303343f54146102915780630508941e146102b157806323161ff8146102c4575b600080fd5b34801561027b57600080fd5b5061028f61028a366004612fac565b61070a565b005b34801561029d57600080fd5b5061028f6102ac366004612f2d565b61084a565b61028f6102bf3660046131c1565b6108da565b3480156102d057600080fd5b506102e46102df36600461329e565b610adc565b6040516102f393929190613747565b60405180910390f35b34801561030857600080fd5b5061028f61031736600461313f565b610b4a565b34801561032857600080fd5b5061028f610337366004613346565b610c92565b34801561034857600080fd5b5061028f610357366004612f74565b610e2a565b34801561036857600080fd5b5061037c610377366004613125565b611115565b6040516102f39190613707565b34801561039557600080fd5b5061037c6103a4366004613125565b611139565b3480156103b557600080fd5b5061028f6103c4366004612fec565b61115d565b3480156103d557600080fd5b506103e96103e43660046132c7565b611278565b6040516102f3919061387a565b34801561040257600080fd5b5061040b61135d565b6040516102f39190613460565b34801561042457600080fd5b5061042d611366565b6040516102f391906133f1565b34801561044657600080fd5b5061040b610455366004612f2d565b611382565b34801561046657600080fd5b5061046f6113b1565b6040516102f3919061377b565b34801561048857600080fd5b5061042d6113d1565b34801561049d57600080fd5b5061028f6113ed565b3480156104b257600080fd5b5061028f6104c1366004612f2d565b6114ea565b3480156104d257600080fd5b5061042d61157f565b3480156104e757600080fd5b506104fb6104f6366004613125565b6115a0565b6040516102f391906136db565b34801561051457600080fd5b5061028f610523366004612fec565b611692565b34801561053457600080fd5b5061046f6117a1565b34801561054957600080fd5b5061040b610558366004612f2d565b6117c3565b34801561056957600080fd5b5061057d610578366004613125565b6117d8565b6040516102f3929190613724565b34801561059757600080fd5b5061042d611814565b3480156105ac57600080fd5b5061046f611830565b3480156105c157600080fd5b5061037c61184e565b3480156105d657600080fd5b5061028f6105e5366004613256565b611866565b3480156105f657600080fd5b5061028f610605366004613060565b6118b4565b34801561061657600080fd5b5061028f610625366004613020565b611973565b34801561063657600080fd5b506103e96106453660046132c7565b611a84565b34801561065657600080fd5b5061028f6106653660046130ed565b611af6565b34801561067657600080fd5b5061028f610685366004613020565b611b82565b34801561069657600080fd5b5061040b6106a5366004612f2d565b611c93565b3480156106b657600080fd5b5061028f6106c5366004612f2d565b611ca8565b3480156106d657600080fd5b5061028f6106e5366004612f2d565b611e16565b3480156106f657600080fd5b5061028f610705366004612f49565b611fc2565b33610713611814565b73ffffffffffffffffffffffffffffffffffffffff161461075c5761073733611382565b61075c5760405162461bcd60e51b81526004016107539061346b565b60405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8516906370a08231906107b19030906004016133f1565b60206040518083038186803b1580156107c957600080fd5b505afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080191906133b2565b9050808211156108235760405162461bcd60e51b8152600401610753906135a2565b61084473ffffffffffffffffffffffffffffffffffffffff85168484612163565b50505050565b33610853611814565b73ffffffffffffffffffffffffffffffffffffffff16146108935761087733611382565b6108935760405162461bcd60e51b81526004016107539061346b565b606780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b336108e3611814565b73ffffffffffffffffffffffffffffffffffffffff16146109235761090733611382565b6109235760405162461bcd60e51b81526004016107539061346b565b6002600054141561097b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260008190555060008173ffffffffffffffffffffffffffffffffffffffff16346040516109a9906133ee565b60006040518083038185875af1925050503d80600081146109e6576040519150601f19603f3d011682016040523d82523d6000602084013e6109eb565b606091505b5050905080610a3857604051349073ffffffffffffffffffffffffffffffffffffffff8416907f2c7a964ca3de5ec1d42d9822f9bbd0eb142a59cc9f855e9d93813b773192c7a390600090a35b6066546040517f987fa2d500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063987fa2d590610a9a908c908c908c908c908c908c908c9060040161378a565b600060405180830381600087803b158015610ab457600080fd5b505af1158015610ac8573d6000803e3d6000fd5b505060016000555050505050505050505050565b60696020908152600092835260408084209091529082529020546fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b33610b53611814565b73ffffffffffffffffffffffffffffffffffffffff1614610b9357610b7733611382565b610b935760405162461bcd60e51b81526004016107539061346b565b60026000541415610beb576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556066546040517f987fa2d500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063987fa2d590610c52908a908a908a908a908a908a908a9060040161378a565b600060405180830381600087803b158015610c6c57600080fd5b505af1158015610c80573d6000803e3d6000fd5b50506001600055505050505050505050565b33610c9b611814565b73ffffffffffffffffffffffffffffffffffffffff1614610cdb57610cbf33611382565b610cdb5760405162461bcd60e51b81526004016107539061346b565b604080516060810182526fffffffffffffffffffffffffffffffff858116825267ffffffffffffffff858116602080850191825286831685870190815261ffff8c8116600090815260698452888120918d16815292529086902094518554925191517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093169416939093177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16700100000000000000000000000000000000938316939093029290921777ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009290911691909102179055517fd053e021dda81c7c2794ff89e320caea5379962d49ed383a3bd0a54ffc4b932f90610e1b9087908790879087908790613814565b60405180910390a15050505050565b6000610e346121f0565b905073ffffffffffffffffffffffffffffffffffffffff8116610e8d5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610eaf565b3373ffffffffffffffffffffffffffffffffffffffff821614610eaf57600080fd5b600154610100900460ff1680610ec85750610ec8612215565b80610ed6575060015460ff16155b610f115760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff16158015610f7657600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091166101001716811790555b610f7e612226565b606680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616179055610fc930600161115d565b606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010073ffffffffffffffffffffffffffffffffffffffff881602179055612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055801561084457600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550505050565b606d602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b606e602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b61116561232f565b73ffffffffffffffffffffffffffffffffffffffff16611183611814565b73ffffffffffffffffffffffffffffffffffffffff16146111eb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152606a60205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016831515179055517fb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f10239061126c9084908490613438565b60405180910390a15050565b60665460009073ffffffffffffffffffffffffffffffffffffffff1633146112b25760405162461bcd60e51b8152600401610753906135ff565b6127108411156112d45760405162461bcd60e51b8152600401610753906134a2565b60006113198888888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061233392505050565b90507fdf21c415b78ed2552cc9971249e32a053abce6087a0ae0fbf3f78db5174a34938160405161134a919061387a565b60405180910390a1979650505050505050565b606b5460ff1681565b60675473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152606a602052604090205460ff165b919050565b606c547201000000000000000000000000000000000000900461ffff1681565b60665473ffffffffffffffffffffffffffffffffffffffff1681565b6113f561232f565b73ffffffffffffffffffffffffffffffffffffffff16611413611814565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60345460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b336114f3611814565b73ffffffffffffffffffffffffffffffffffffffff16146115335761151733611382565b6115335760405162461bcd60e51b81526004016107539061346b565b606b805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606b54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6115a8612e6a565b606b546040517fe0ad121a000000000000000000000000000000000000000000000000000000008152600091610100900473ffffffffffffffffffffffffffffffffffffffff169063e0ad121a9061160490869060040161377b565b60606040518083038186803b15801561161c57600080fd5b505afa158015611630573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611654919061307a565b6040805180820190915281516fffffffffffffffffffffffffffffffff16815260209182015167ffffffffffffffff16918101919091529392505050565b61169a61232f565b73ffffffffffffffffffffffffffffffffffffffff166116b8611814565b73ffffffffffffffffffffffffffffffffffffffff1614611720576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152606f60205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016831515179055517fde6b048d6c4e63d85fde37ccbe03f4380c6d12cb2a1e9ce9268bbf47a1ef68789061126c9084908490613438565b606c5474010000000000000000000000000000000000000000900461ffff1681565b606f6020526000908152604090205460ff1681565b6068602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b60345473ffffffffffffffffffffffffffffffffffffffff1690565b606c54700100000000000000000000000000000000900461ffff1681565b606c546fffffffffffffffffffffffffffffffff1681565b3361186f611814565b73ffffffffffffffffffffffffffffffffffffffff16146118af5761189333611382565b6118af5760405162461bcd60e51b81526004016107539061346b565b505050565b6118bc61232f565b73ffffffffffffffffffffffffffffffffffffffff166118da611814565b73ffffffffffffffffffffffffffffffffffffffff1614611942576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3361197c611814565b73ffffffffffffffffffffffffffffffffffffffff16141580156119b05750336000908152606a602052604090205460ff16155b156119e457336000908152606f602052604090205460ff166119e45760405162461bcd60e51b81526004016107539061356b565b60005b818110156118af57368383838181106119fc57fe5b9050604002019050806020016020810190611a1791906130ed565b606d6000611a286020850185613125565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055506001016119e7565b6000612710841115611aa85760405162461bcd60e51b8152600401610753906134a2565b611aeb8787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061233392505050565b979650505050505050565b33611aff611814565b73ffffffffffffffffffffffffffffffffffffffff1614611b3f57611b2333611382565b611b3f5760405162461bcd60e51b81526004016107539061346b565b606c80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b33611b8b611814565b73ffffffffffffffffffffffffffffffffffffffff1614158015611bbf5750336000908152606a602052604090205460ff16155b15611bf357336000908152606f602052604090205460ff16611bf35760405162461bcd60e51b81526004016107539061356b565b60005b818110156118af5736838383818110611c0b57fe5b9050604002019050806020016020810190611c2691906130ed565b606e6000611c376020850185613125565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611bf6565b606a6020526000908152604090205460ff1681565b611cb061232f565b73ffffffffffffffffffffffffffffffffffffffff16611cce611814565b73ffffffffffffffffffffffffffffffffffffffff1614611d36576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611d885760405162461bcd60e51b81526004018080602001828103825260268152602001806138da6026913960400191505060405180910390fd5b60345460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000611e206121f0565b905073ffffffffffffffffffffffffffffffffffffffff8116611e795773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355611e9b565b3373ffffffffffffffffffffffffffffffffffffffff821614611e9b57600080fd5b50606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010073ffffffffffffffffffffffffffffffffffffffff959095169490940293909317909255612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055565b33611fcb611814565b73ffffffffffffffffffffffffffffffffffffffff161461200b57611fef33611382565b61200b5760405162461bcd60e51b81526004016107539061346b565b6066546040517f69412bfa00000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906369412bfa906120629030906004016133f1565b60206040518083038186803b15801561207a57600080fd5b505afa15801561208e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b291906133b2565b9050808211156120d45760405162461bcd60e51b8152600401610753906135a2565b6066546040517f07b18bde00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906307b18bde9061212c9086908690600401613412565b600060405180830381600087803b15801561214657600080fd5b505af115801561215a573d6000803e3d6000fd5b50505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526118af90849061264e565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60006122203061270c565b15905090565b600154610100900460ff168061223f575061223f612215565b8061224d575060015460ff16155b6122885760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff161580156122ed57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091166101001716811790555b6122f5612712565b6122fd612809565b801561232c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b50565b3390565b606b5460009060ff16156123595760405162461bcd60e51b815260040161075390613636565b81516022148061236a575060428251115b6123865760405162461bcd60e51b8152600401610753906134d7565b60028201516022830151806123ad5760405162461bcd60e51b81526004016107539061366d565b8161ffff16600114806123c457508161ffff166002145b6123e05760405162461bcd60e51b815260040161075390613534565b61ffff88811660009081526069602090815260408083208b851684529091528120918416600214156124455750604285015181546fffffffffffffffffffffffffffffffff168111156124455760405162461bcd60e51b8152600401610753906136a4565b60008461ffff1660021461247357606c54700100000000000000000000000000000000900461ffff16612499565b606c5461249990700100000000000000000000000000000000900461ffff16602061297e565b905060008a61ffff166002146124d857606c546124d3908a9074010000000000000000000000000000000000000000900461ffff1661297e565b612500565b606c54612500908a907201000000000000000000000000000000000000900461ffff1661297e565b606b549091508c906000908190610100900473ffffffffffffffffffffffffffffffffffffffff16637bc3c9ab84612538888861297e565b8a5461256290700100000000000000000000000000000000900467ffffffffffffffff168d61297e565b6040518463ffffffff1660e01b81526004016125809392919061385e565b604080518083038186803b15801561259757600080fd5b505afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf91906133ca565b90925090506000861561262557606c546126229061271090612616906fffffffffffffffffffffffffffffffff9081169061261c906402540be4009084908e908a166129e1565b90612a3a565b906129e1565b90505b612639816126338686612aa1565b9061297e565b9a505050505050505050505095945050505050565b60006126b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612c379092919063ffffffff16565b8051909150156118af578080602001905160208110156126cf57600080fd5b50516118af5760405162461bcd60e51b815260040180806020018281038252602a815260200180613975602a913960400191505060405180910390fd5b3b151590565b600154610100900460ff168061272b575061272b612215565b80612739575060015460ff16155b6127745760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff161580156122fd57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171681179055801561232c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b600154610100900460ff16806128225750612822612215565b80612830575060015460ff16155b61286b5760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff161580156128d057600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091166101001716811790555b60006128da61232f565b603480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561232c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b6000828201838110156129d8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000826129f0575060006129db565b828202828482816129fd57fe5b04146129d85760405162461bcd60e51b81526004018080602001828103825260218152602001806139546021913960400191505060405180910390fd5b6000808211612a90576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381612a9957fe5b049392505050565b61ffff82166000908152606d60205260408120546fffffffffffffffffffffffffffffffff1680612ae35750606c546fffffffffffffffffffffffffffffffff165b6000612b07612710612616866fffffffffffffffffffffffffffffffff86166129e1565b90506000606b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392807f586040518163ffffffff1660e01b815260040160206040518083038186803b158015612b7357600080fd5b505afa158015612b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bab9190613109565b6fffffffffffffffffffffffffffffffff16905080612bce575091506129db9050565b61ffff86166000908152606e6020526040812054670de0b6b3a76400009190612c1a90612c13908590612616906fffffffffffffffffffffffffffffffff16866129e1565b889061297e565b9050838111612c295783612c2b565b805b98975050505050505050565b6060612c468484600085612c50565b90505b9392505050565b606082471015612c915760405162461bcd60e51b81526004018080602001828103825260268152602001806139006026913960400191505060405180910390fd5b612c9a8561270c565b612ceb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612d5457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612d17565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612db6576040519150601f19603f3d011682016040523d82523d6000602084013e612dbb565b606091505b5091509150611aeb82828660608315612dd5575081612c49565b825115612de55782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e2f578181015183820152602001612e17565b50505050905090810190601f168015612e5c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080518082019091526000808252602082015290565b60008083601f840112612e92578182fd5b50813567ffffffffffffffff811115612ea9578182fd5b602083019150836020604083028501011115612ec457600080fd5b9250929050565b803580151581146113ac57600080fd5b60008083601f840112612eec578182fd5b50813567ffffffffffffffff811115612f03578182fd5b602083019150836020828501011115612ec457600080fd5b803561ffff811681146113ac57600080fd5b600060208284031215612f3e578081fd5b81356129d881613883565b60008060408385031215612f5b578081fd5b8235612f6681613883565b946020939093013593505050565b60008060408385031215612f86578182fd5b8235612f9181613883565b91506020830135612fa181613883565b809150509250929050565b600080600060608486031215612fc0578081fd5b8335612fcb81613883565b92506020840135612fdb81613883565b929592945050506040919091013590565b60008060408385031215612ffe578182fd5b823561300981613883565b915061301760208401612ecb565b90509250929050565b60008060208385031215613032578182fd5b823567ffffffffffffffff811115613048578283fd5b61305485828601612e81565b90969095509350505050565b600060208284031215613071578081fd5b612c4982612ecb565b60006060828403121561308b578081fd5b6040516060810181811067ffffffffffffffff821117156130a857fe5b60405282516130b6816138a5565b815260208301516130c6816138c3565b6020820152604083015163ffffffff811681146130e1578283fd5b60408201529392505050565b6000602082840312156130fe578081fd5b81356129d8816138a5565b60006020828403121561311a578081fd5b81516129d8816138a5565b600060208284031215613136578081fd5b612c4982612f1b565b600080600080600080600060c0888a031215613159578485fd5b61316288612f1b565b9650602088013561317281613883565b955060408801359450606088013593506080880135925060a088013567ffffffffffffffff8111156131a2578283fd5b6131ae8a828b01612edb565b989b979a50959850939692959293505050565b60008060008060008060008060e0898b0312156131dc578182fd5b6131e589612f1b565b975060208901356131f581613883565b965060408901359550606089013594506080890135935060a089013567ffffffffffffffff811115613225578283fd5b6132318b828c01612edb565b90945092505060c089013561324581613883565b809150509295985092959890939650565b60008060006060848603121561326a578081fd5b61327384612f1b565b92506020840135613283816138a5565b91506040840135613293816138a5565b809150509250925092565b600080604083850312156132b0578182fd5b6132b983612f1b565b915061301760208401612f1b565b60008060008060008060a087890312156132df578384fd5b6132e887612f1b565b95506132f660208801612f1b565b9450604087013561330681613883565b935060608701359250608087013567ffffffffffffffff811115613328578283fd5b61333489828a01612edb565b979a9699509497509295939492505050565b600080600080600060a0868803121561335d578283fd5b61336686612f1b565b945061337460208701612f1b565b93506040860135613384816138a5565b92506060860135613394816138c3565b915060808601356133a4816138c3565b809150509295509295909350565b6000602082840312156133c3578081fd5b5051919050565b600080604083850312156133dc578182fd5b825191506020830151612fa1816138a5565b90565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9290921682521515602082015260400190565b901515815260200190565b60208082526015908201527f52656c617965723a206e6f7420617070726f7665640000000000000000000000604082015260600190565b6020808252818101527f52656c617965723a205f7061796c6f616453697a6520746f6f6f6f6f20626967604082015260600190565b60208082526026908201527f52656c617965723a2077726f6e67205f61646170746572506172616d6574657260408201527f732073697a650000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52656c617965723a20756e737570706f72746564207478547970650000000000604082015260600190565b60208082526014908201527f52656c617965723a206e6f742075706461746572000000000000000000000000604082015260600190565b60208082526026908201527f52656c617965723a206e6f7420656e6f7567682066656520666f72207769746860408201527f64726177616c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f52656c617965723a20696e76616c696420756c6e000000000000000000000000604082015260600190565b6020808252600d908201527f41646d696e3a2070617573656400000000000000000000000000000000000000604082015260600190565b60208082526014908201527f52656c617965723a2067617320746f6f206c6f77000000000000000000000000604082015260600190565b6020808252601f908201527f52656c617965723a206473744e6174697665416d7420746f6f206c6172676500604082015260600190565b81516fffffffffffffffffffffffffffffffff9081168252602092830151169181019190915260400190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6fffffffffffffffffffffffffffffffff93909316835267ffffffffffffffff918216602084015216604082015260600190565b61ffff91909116815260200190565b600061ffff8916825273ffffffffffffffffffffffffffffffffffffffff8816602083015286604083015285606083015284608083015260c060a08301528260c0830152828460e084013781830160e090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01601019695505050505050565b61ffff95861681529390941660208401526fffffffffffffffffffffffffffffffff91909116604083015267ffffffffffffffff9081166060830152909116608082015260a00190565b61ffff9390931683526020830191909152604082015260600190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461232c57600080fd5b6fffffffffffffffffffffffffffffffff8116811461232c57600080fd5b67ffffffffffffffff8116811461232c57600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b7631978b811cdb692592b26767bcd030e4d556e29c0c083526e40c7191e505964736f6c63430007060033",
942
- "deployedBytecode": "0x60806040526004361061026a5760003560e01c8063741bef1a11610153578063b8f8bad4116100cb578063d5f8b0141161007f578063f2fde38b11610064578063f2fde38b146106aa578063fa34c84e146106ca578063fd9be522146106ea5761026a565b8063d5f8b0141461066a578063f136a8741461068a5761026a565b8063bf4dab51116100b0578063bf4dab511461060a578063c03f15291461062a578063c3b04e7f1461064a5761026a565b8063b8f8bad4146105ca578063bedb86fb146105ea5761026a565b80638576db67116101225780638da5cb5b116101075780638da5cb5b1461058b57806398dabd50146105a0578063ac353e04146105b55761026a565b80638576db671461053d5780638644c5781461055d5761026a565b8063741bef1a146104c6578063765a8a54146104db578063801db1fe1461050857806381ba209a146105285761026a565b8063575765e2116101e6578063673448dd116101b55780636c473aff1161019a5780636c473aff1461047c578063715018a614610491578063724e78da146104a65761026a565b8063673448dd1461043a57806369cf4e3a1461045a5761026a565b8063575765e2146103a95780635886ea65146103c95780635c975abb146103f65780636348d269146104185761026a565b8063252f7b011161023d578063485cc95511610222578063485cc9551461033c5780634eeba2501461035c57806355b35249146103895761026a565b8063252f7b01146102fc5780633f1034871461031c5761026a565b806301e336671461026f57806303343f54146102915780630508941e146102b157806323161ff8146102c4575b600080fd5b34801561027b57600080fd5b5061028f61028a366004612fac565b61070a565b005b34801561029d57600080fd5b5061028f6102ac366004612f2d565b61084a565b61028f6102bf3660046131c1565b6108da565b3480156102d057600080fd5b506102e46102df36600461329e565b610adc565b6040516102f393929190613747565b60405180910390f35b34801561030857600080fd5b5061028f61031736600461313f565b610b4a565b34801561032857600080fd5b5061028f610337366004613346565b610c92565b34801561034857600080fd5b5061028f610357366004612f74565b610e2a565b34801561036857600080fd5b5061037c610377366004613125565b611115565b6040516102f39190613707565b34801561039557600080fd5b5061037c6103a4366004613125565b611139565b3480156103b557600080fd5b5061028f6103c4366004612fec565b61115d565b3480156103d557600080fd5b506103e96103e43660046132c7565b611278565b6040516102f3919061387a565b34801561040257600080fd5b5061040b61135d565b6040516102f39190613460565b34801561042457600080fd5b5061042d611366565b6040516102f391906133f1565b34801561044657600080fd5b5061040b610455366004612f2d565b611382565b34801561046657600080fd5b5061046f6113b1565b6040516102f3919061377b565b34801561048857600080fd5b5061042d6113d1565b34801561049d57600080fd5b5061028f6113ed565b3480156104b257600080fd5b5061028f6104c1366004612f2d565b6114ea565b3480156104d257600080fd5b5061042d61157f565b3480156104e757600080fd5b506104fb6104f6366004613125565b6115a0565b6040516102f391906136db565b34801561051457600080fd5b5061028f610523366004612fec565b611692565b34801561053457600080fd5b5061046f6117a1565b34801561054957600080fd5b5061040b610558366004612f2d565b6117c3565b34801561056957600080fd5b5061057d610578366004613125565b6117d8565b6040516102f3929190613724565b34801561059757600080fd5b5061042d611814565b3480156105ac57600080fd5b5061046f611830565b3480156105c157600080fd5b5061037c61184e565b3480156105d657600080fd5b5061028f6105e5366004613256565b611866565b3480156105f657600080fd5b5061028f610605366004613060565b6118b4565b34801561061657600080fd5b5061028f610625366004613020565b611973565b34801561063657600080fd5b506103e96106453660046132c7565b611a84565b34801561065657600080fd5b5061028f6106653660046130ed565b611af6565b34801561067657600080fd5b5061028f610685366004613020565b611b82565b34801561069657600080fd5b5061040b6106a5366004612f2d565b611c93565b3480156106b657600080fd5b5061028f6106c5366004612f2d565b611ca8565b3480156106d657600080fd5b5061028f6106e5366004612f2d565b611e16565b3480156106f657600080fd5b5061028f610705366004612f49565b611fc2565b33610713611814565b73ffffffffffffffffffffffffffffffffffffffff161461075c5761073733611382565b61075c5760405162461bcd60e51b81526004016107539061346b565b60405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8516906370a08231906107b19030906004016133f1565b60206040518083038186803b1580156107c957600080fd5b505afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080191906133b2565b9050808211156108235760405162461bcd60e51b8152600401610753906135a2565b61084473ffffffffffffffffffffffffffffffffffffffff85168484612163565b50505050565b33610853611814565b73ffffffffffffffffffffffffffffffffffffffff16146108935761087733611382565b6108935760405162461bcd60e51b81526004016107539061346b565b606780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b336108e3611814565b73ffffffffffffffffffffffffffffffffffffffff16146109235761090733611382565b6109235760405162461bcd60e51b81526004016107539061346b565b6002600054141561097b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260008190555060008173ffffffffffffffffffffffffffffffffffffffff16346040516109a9906133ee565b60006040518083038185875af1925050503d80600081146109e6576040519150601f19603f3d011682016040523d82523d6000602084013e6109eb565b606091505b5050905080610a3857604051349073ffffffffffffffffffffffffffffffffffffffff8416907f2c7a964ca3de5ec1d42d9822f9bbd0eb142a59cc9f855e9d93813b773192c7a390600090a35b6066546040517f987fa2d500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063987fa2d590610a9a908c908c908c908c908c908c908c9060040161378a565b600060405180830381600087803b158015610ab457600080fd5b505af1158015610ac8573d6000803e3d6000fd5b505060016000555050505050505050505050565b60696020908152600092835260408084209091529082529020546fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b33610b53611814565b73ffffffffffffffffffffffffffffffffffffffff1614610b9357610b7733611382565b610b935760405162461bcd60e51b81526004016107539061346b565b60026000541415610beb576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556066546040517f987fa2d500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063987fa2d590610c52908a908a908a908a908a908a908a9060040161378a565b600060405180830381600087803b158015610c6c57600080fd5b505af1158015610c80573d6000803e3d6000fd5b50506001600055505050505050505050565b33610c9b611814565b73ffffffffffffffffffffffffffffffffffffffff1614610cdb57610cbf33611382565b610cdb5760405162461bcd60e51b81526004016107539061346b565b604080516060810182526fffffffffffffffffffffffffffffffff858116825267ffffffffffffffff858116602080850191825286831685870190815261ffff8c8116600090815260698452888120918d16815292529086902094518554925191517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093169416939093177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16700100000000000000000000000000000000938316939093029290921777ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009290911691909102179055517fd053e021dda81c7c2794ff89e320caea5379962d49ed383a3bd0a54ffc4b932f90610e1b9087908790879087908790613814565b60405180910390a15050505050565b6000610e346121f0565b905073ffffffffffffffffffffffffffffffffffffffff8116610e8d5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610eaf565b3373ffffffffffffffffffffffffffffffffffffffff821614610eaf57600080fd5b600154610100900460ff1680610ec85750610ec8612215565b80610ed6575060015460ff16155b610f115760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff16158015610f7657600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091166101001716811790555b610f7e612226565b606680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616179055610fc930600161115d565b606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010073ffffffffffffffffffffffffffffffffffffffff881602179055612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055801561084457600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550505050565b606d602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b606e602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b61116561232f565b73ffffffffffffffffffffffffffffffffffffffff16611183611814565b73ffffffffffffffffffffffffffffffffffffffff16146111eb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152606a60205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016831515179055517fb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f10239061126c9084908490613438565b60405180910390a15050565b60665460009073ffffffffffffffffffffffffffffffffffffffff1633146112b25760405162461bcd60e51b8152600401610753906135ff565b6127108411156112d45760405162461bcd60e51b8152600401610753906134a2565b60006113198888888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061233392505050565b90507fdf21c415b78ed2552cc9971249e32a053abce6087a0ae0fbf3f78db5174a34938160405161134a919061387a565b60405180910390a1979650505050505050565b606b5460ff1681565b60675473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152606a602052604090205460ff165b919050565b606c547201000000000000000000000000000000000000900461ffff1681565b60665473ffffffffffffffffffffffffffffffffffffffff1681565b6113f561232f565b73ffffffffffffffffffffffffffffffffffffffff16611413611814565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60345460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b336114f3611814565b73ffffffffffffffffffffffffffffffffffffffff16146115335761151733611382565b6115335760405162461bcd60e51b81526004016107539061346b565b606b805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606b54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6115a8612e6a565b606b546040517fe0ad121a000000000000000000000000000000000000000000000000000000008152600091610100900473ffffffffffffffffffffffffffffffffffffffff169063e0ad121a9061160490869060040161377b565b60606040518083038186803b15801561161c57600080fd5b505afa158015611630573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611654919061307a565b6040805180820190915281516fffffffffffffffffffffffffffffffff16815260209182015167ffffffffffffffff16918101919091529392505050565b61169a61232f565b73ffffffffffffffffffffffffffffffffffffffff166116b8611814565b73ffffffffffffffffffffffffffffffffffffffff1614611720576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152606f60205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016831515179055517fde6b048d6c4e63d85fde37ccbe03f4380c6d12cb2a1e9ce9268bbf47a1ef68789061126c9084908490613438565b606c5474010000000000000000000000000000000000000000900461ffff1681565b606f6020526000908152604090205460ff1681565b6068602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b60345473ffffffffffffffffffffffffffffffffffffffff1690565b606c54700100000000000000000000000000000000900461ffff1681565b606c546fffffffffffffffffffffffffffffffff1681565b3361186f611814565b73ffffffffffffffffffffffffffffffffffffffff16146118af5761189333611382565b6118af5760405162461bcd60e51b81526004016107539061346b565b505050565b6118bc61232f565b73ffffffffffffffffffffffffffffffffffffffff166118da611814565b73ffffffffffffffffffffffffffffffffffffffff1614611942576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3361197c611814565b73ffffffffffffffffffffffffffffffffffffffff16141580156119b05750336000908152606a602052604090205460ff16155b156119e457336000908152606f602052604090205460ff166119e45760405162461bcd60e51b81526004016107539061356b565b60005b818110156118af57368383838181106119fc57fe5b9050604002019050806020016020810190611a1791906130ed565b606d6000611a286020850185613125565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055506001016119e7565b6000612710841115611aa85760405162461bcd60e51b8152600401610753906134a2565b611aeb8787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061233392505050565b979650505050505050565b33611aff611814565b73ffffffffffffffffffffffffffffffffffffffff1614611b3f57611b2333611382565b611b3f5760405162461bcd60e51b81526004016107539061346b565b606c80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b33611b8b611814565b73ffffffffffffffffffffffffffffffffffffffff1614158015611bbf5750336000908152606a602052604090205460ff16155b15611bf357336000908152606f602052604090205460ff16611bf35760405162461bcd60e51b81526004016107539061356b565b60005b818110156118af5736838383818110611c0b57fe5b9050604002019050806020016020810190611c2691906130ed565b606e6000611c376020850185613125565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611bf6565b606a6020526000908152604090205460ff1681565b611cb061232f565b73ffffffffffffffffffffffffffffffffffffffff16611cce611814565b73ffffffffffffffffffffffffffffffffffffffff1614611d36576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611d885760405162461bcd60e51b81526004018080602001828103825260268152602001806138da6026913960400191505060405180910390fd5b60345460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000611e206121f0565b905073ffffffffffffffffffffffffffffffffffffffff8116611e795773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355611e9b565b3373ffffffffffffffffffffffffffffffffffffffff821614611e9b57600080fd5b50606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010073ffffffffffffffffffffffffffffffffffffffff959095169490940293909317909255612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055565b33611fcb611814565b73ffffffffffffffffffffffffffffffffffffffff161461200b57611fef33611382565b61200b5760405162461bcd60e51b81526004016107539061346b565b6066546040517f69412bfa00000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906369412bfa906120629030906004016133f1565b60206040518083038186803b15801561207a57600080fd5b505afa15801561208e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b291906133b2565b9050808211156120d45760405162461bcd60e51b8152600401610753906135a2565b6066546040517f07b18bde00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906307b18bde9061212c9086908690600401613412565b600060405180830381600087803b15801561214657600080fd5b505af115801561215a573d6000803e3d6000fd5b50505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526118af90849061264e565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60006122203061270c565b15905090565b600154610100900460ff168061223f575061223f612215565b8061224d575060015460ff16155b6122885760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff161580156122ed57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091166101001716811790555b6122f5612712565b6122fd612809565b801561232c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b50565b3390565b606b5460009060ff16156123595760405162461bcd60e51b815260040161075390613636565b81516022148061236a575060428251115b6123865760405162461bcd60e51b8152600401610753906134d7565b60028201516022830151806123ad5760405162461bcd60e51b81526004016107539061366d565b8161ffff16600114806123c457508161ffff166002145b6123e05760405162461bcd60e51b815260040161075390613534565b61ffff88811660009081526069602090815260408083208b851684529091528120918416600214156124455750604285015181546fffffffffffffffffffffffffffffffff168111156124455760405162461bcd60e51b8152600401610753906136a4565b60008461ffff1660021461247357606c54700100000000000000000000000000000000900461ffff16612499565b606c5461249990700100000000000000000000000000000000900461ffff16602061297e565b905060008a61ffff166002146124d857606c546124d3908a9074010000000000000000000000000000000000000000900461ffff1661297e565b612500565b606c54612500908a907201000000000000000000000000000000000000900461ffff1661297e565b606b549091508c906000908190610100900473ffffffffffffffffffffffffffffffffffffffff16637bc3c9ab84612538888861297e565b8a5461256290700100000000000000000000000000000000900467ffffffffffffffff168d61297e565b6040518463ffffffff1660e01b81526004016125809392919061385e565b604080518083038186803b15801561259757600080fd5b505afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf91906133ca565b90925090506000861561262557606c546126229061271090612616906fffffffffffffffffffffffffffffffff9081169061261c906402540be4009084908e908a166129e1565b90612a3a565b906129e1565b90505b612639816126338686612aa1565b9061297e565b9a505050505050505050505095945050505050565b60006126b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612c379092919063ffffffff16565b8051909150156118af578080602001905160208110156126cf57600080fd5b50516118af5760405162461bcd60e51b815260040180806020018281038252602a815260200180613975602a913960400191505060405180910390fd5b3b151590565b600154610100900460ff168061272b575061272b612215565b80612739575060015460ff16155b6127745760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff161580156122fd57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171681179055801561232c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b600154610100900460ff16806128225750612822612215565b80612830575060015460ff16155b61286b5760405162461bcd60e51b815260040180806020018281038252602e815260200180613926602e913960400191505060405180910390fd5b600154610100900460ff161580156128d057600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091166101001716811790555b60006128da61232f565b603480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561232c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b6000828201838110156129d8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000826129f0575060006129db565b828202828482816129fd57fe5b04146129d85760405162461bcd60e51b81526004018080602001828103825260218152602001806139546021913960400191505060405180910390fd5b6000808211612a90576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381612a9957fe5b049392505050565b61ffff82166000908152606d60205260408120546fffffffffffffffffffffffffffffffff1680612ae35750606c546fffffffffffffffffffffffffffffffff165b6000612b07612710612616866fffffffffffffffffffffffffffffffff86166129e1565b90506000606b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392807f586040518163ffffffff1660e01b815260040160206040518083038186803b158015612b7357600080fd5b505afa158015612b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bab9190613109565b6fffffffffffffffffffffffffffffffff16905080612bce575091506129db9050565b61ffff86166000908152606e6020526040812054670de0b6b3a76400009190612c1a90612c13908590612616906fffffffffffffffffffffffffffffffff16866129e1565b889061297e565b9050838111612c295783612c2b565b805b98975050505050505050565b6060612c468484600085612c50565b90505b9392505050565b606082471015612c915760405162461bcd60e51b81526004018080602001828103825260268152602001806139006026913960400191505060405180910390fd5b612c9a8561270c565b612ceb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612d5457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612d17565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612db6576040519150601f19603f3d011682016040523d82523d6000602084013e612dbb565b606091505b5091509150611aeb82828660608315612dd5575081612c49565b825115612de55782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e2f578181015183820152602001612e17565b50505050905090810190601f168015612e5c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080518082019091526000808252602082015290565b60008083601f840112612e92578182fd5b50813567ffffffffffffffff811115612ea9578182fd5b602083019150836020604083028501011115612ec457600080fd5b9250929050565b803580151581146113ac57600080fd5b60008083601f840112612eec578182fd5b50813567ffffffffffffffff811115612f03578182fd5b602083019150836020828501011115612ec457600080fd5b803561ffff811681146113ac57600080fd5b600060208284031215612f3e578081fd5b81356129d881613883565b60008060408385031215612f5b578081fd5b8235612f6681613883565b946020939093013593505050565b60008060408385031215612f86578182fd5b8235612f9181613883565b91506020830135612fa181613883565b809150509250929050565b600080600060608486031215612fc0578081fd5b8335612fcb81613883565b92506020840135612fdb81613883565b929592945050506040919091013590565b60008060408385031215612ffe578182fd5b823561300981613883565b915061301760208401612ecb565b90509250929050565b60008060208385031215613032578182fd5b823567ffffffffffffffff811115613048578283fd5b61305485828601612e81565b90969095509350505050565b600060208284031215613071578081fd5b612c4982612ecb565b60006060828403121561308b578081fd5b6040516060810181811067ffffffffffffffff821117156130a857fe5b60405282516130b6816138a5565b815260208301516130c6816138c3565b6020820152604083015163ffffffff811681146130e1578283fd5b60408201529392505050565b6000602082840312156130fe578081fd5b81356129d8816138a5565b60006020828403121561311a578081fd5b81516129d8816138a5565b600060208284031215613136578081fd5b612c4982612f1b565b600080600080600080600060c0888a031215613159578485fd5b61316288612f1b565b9650602088013561317281613883565b955060408801359450606088013593506080880135925060a088013567ffffffffffffffff8111156131a2578283fd5b6131ae8a828b01612edb565b989b979a50959850939692959293505050565b60008060008060008060008060e0898b0312156131dc578182fd5b6131e589612f1b565b975060208901356131f581613883565b965060408901359550606089013594506080890135935060a089013567ffffffffffffffff811115613225578283fd5b6132318b828c01612edb565b90945092505060c089013561324581613883565b809150509295985092959890939650565b60008060006060848603121561326a578081fd5b61327384612f1b565b92506020840135613283816138a5565b91506040840135613293816138a5565b809150509250925092565b600080604083850312156132b0578182fd5b6132b983612f1b565b915061301760208401612f1b565b60008060008060008060a087890312156132df578384fd5b6132e887612f1b565b95506132f660208801612f1b565b9450604087013561330681613883565b935060608701359250608087013567ffffffffffffffff811115613328578283fd5b61333489828a01612edb565b979a9699509497509295939492505050565b600080600080600060a0868803121561335d578283fd5b61336686612f1b565b945061337460208701612f1b565b93506040860135613384816138a5565b92506060860135613394816138c3565b915060808601356133a4816138c3565b809150509295509295909350565b6000602082840312156133c3578081fd5b5051919050565b600080604083850312156133dc578182fd5b825191506020830151612fa1816138a5565b90565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9290921682521515602082015260400190565b901515815260200190565b60208082526015908201527f52656c617965723a206e6f7420617070726f7665640000000000000000000000604082015260600190565b6020808252818101527f52656c617965723a205f7061796c6f616453697a6520746f6f6f6f6f20626967604082015260600190565b60208082526026908201527f52656c617965723a2077726f6e67205f61646170746572506172616d6574657260408201527f732073697a650000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52656c617965723a20756e737570706f72746564207478547970650000000000604082015260600190565b60208082526014908201527f52656c617965723a206e6f742075706461746572000000000000000000000000604082015260600190565b60208082526026908201527f52656c617965723a206e6f7420656e6f7567682066656520666f72207769746860408201527f64726177616c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f52656c617965723a20696e76616c696420756c6e000000000000000000000000604082015260600190565b6020808252600d908201527f41646d696e3a2070617573656400000000000000000000000000000000000000604082015260600190565b60208082526014908201527f52656c617965723a2067617320746f6f206c6f77000000000000000000000000604082015260600190565b6020808252601f908201527f52656c617965723a206473744e6174697665416d7420746f6f206c6172676500604082015260600190565b81516fffffffffffffffffffffffffffffffff9081168252602092830151169181019190915260400190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6fffffffffffffffffffffffffffffffff93909316835267ffffffffffffffff918216602084015216604082015260600190565b61ffff91909116815260200190565b600061ffff8916825273ffffffffffffffffffffffffffffffffffffffff8816602083015286604083015285606083015284608083015260c060a08301528260c0830152828460e084013781830160e090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01601019695505050505050565b61ffff95861681529390941660208401526fffffffffffffffffffffffffffffffff91909116604083015267ffffffffffffffff9081166060830152909116608082015260a00190565b61ffff9390931683526020830191909152604082015260600190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461232c57600080fd5b6fffffffffffffffffffffffffffffffff8116811461232c57600080fd5b67ffffffffffffffff8116811461232c57600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b7631978b811cdb692592b26767bcd030e4d556e29c0c083526e40c7191e505964736f6c63430007060033",
951
+ "numDeployments": 5,
952
+ "solcInputHash": "c9813f16c0a9a8a4ed63c4b4efa707e9",
953
+ "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApproveAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalFee\",\"type\":\"uint256\"}],\"name\":\"AssignJob\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"outboundProofType\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"dstNativeAmtCap\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"baseGas\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"gasPerByte\",\"type\":\"uint64\"}],\"name\":\"SetDstConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"dstPriceRatio\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"dstGasPriceInWei\",\"type\":\"uint128\"}],\"name\":\"SetDstPrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"priceConfigUpdater\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allow\",\"type\":\"bool\"}],\"name\":\"SetPriceConfigUpdater\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"ValueTransferFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"AIRDROP_GAS_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"approvedAddresses\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_outboundProofType\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_userApplication\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_payloadSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_adapterParams\",\"type\":\"bytes\"}],\"name\":\"assignJob\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstConfigLookup\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"dstNativeAmtCap\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"baseGas\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasPerByte\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstFloorMarginsUSD\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstMultipliers\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"}],\"name\":\"dstPriceLookup\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"dstPriceRatio\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"dstGasPriceInWei\",\"type\":\"uint128\"}],\"internalType\":\"struct RelayerV2.DstPrice\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"dstPriceLookupOld\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"dstPriceRatio\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"dstGasPriceInWei\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fpBytes\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_outboundProofType\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_userApplication\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_payloadSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_adapterParams\",\"type\":\"bytes\"}],\"name\":\"getFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_uln\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayerAddress\",\"type\":\"address\"}],\"name\":\"isApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mptOverhead\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiplierBps\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"onUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"priceConfigUpdaters\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceFeed\",\"outputs\":[{\"internalType\":\"contract ILayerZeroPriceFeedV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayerAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approve\",\"type\":\"bool\"}],\"name\":\"setApprovedAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_outboundProofType\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"_dstNativeAmtCap\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"_baseGas\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_gasPerByte\",\"type\":\"uint64\"}],\"name\":\"setDstConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"floorMargin\",\"type\":\"uint128\"}],\"internalType\":\"struct RelayerV2.DstFloorMargin[]\",\"name\":\"_margins\",\"type\":\"tuple[]\"}],\"name\":\"setDstFloorMarginsUSD\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"_dstPriceRatio\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"_dstGasPriceInWei\",\"type\":\"uint128\"}],\"name\":\"setDstPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"multiplier\",\"type\":\"uint128\"}],\"internalType\":\"struct RelayerV2.DstMultiplier[]\",\"name\":\"_multipliers\",\"type\":\"tuple[]\"}],\"name\":\"setDstPriceMultipliers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_paused\",\"type\":\"bool\"}],\"name\":\"setPause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceConfigUpdater\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_allow\",\"type\":\"bool\"}],\"name\":\"setPriceConfigUpdater\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"setPriceFeed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"_multiplierBps\",\"type\":\"uint128\"}],\"name\":\"setPriceMultiplierBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stargateAddress\",\"type\":\"address\"}],\"name\":\"setStargateAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stargateBridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uln\",\"outputs\":[{\"internalType\":\"contract ILayerZeroUltraLightNodeV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"validateProofBytes\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_dstAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_transactionProof\",\"type\":\"bytes\"}],\"name\":\"validateTransactionProofV1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_dstAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_transactionProof\",\"type\":\"bytes\"},{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"validateTransactionProofV2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/RelayerV2.sol\":\"RelayerV2\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/Initializable.sol\\\";\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n function __Ownable_init() internal initializer {\\n __Context_init_unchained();\\n __Ownable_init_unchained();\\n }\\n\\n function __Ownable_init_unchained() internal initializer {\\n address msgSender = _msgSender();\\n _owner = msgSender;\\n emit OwnershipTransferred(address(0), msgSender);\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n emit OwnershipTransferred(_owner, address(0));\\n _owner = address(0);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n emit OwnershipTransferred(_owner, newOwner);\\n _owner = newOwner;\\n }\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0xba7ba5b188c0b27489bad1efee8d8b1dcebb502785192b22e3d69824a802983d\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// solhint-disable-next-line compiler-version\\npragma solidity >=0.4.24 <0.8.0;\\n\\nimport \\\"../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n */\\nabstract contract Initializable {\\n\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n bool private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Modifier to protect an initializer function from being invoked twice.\\n */\\n modifier initializer() {\\n require(_initializing || _isConstructor() || !_initialized, \\\"Initializable: contract is already initialized\\\");\\n\\n bool isTopLevelCall = !_initializing;\\n if (isTopLevelCall) {\\n _initializing = true;\\n _initialized = true;\\n }\\n\\n _;\\n\\n if (isTopLevelCall) {\\n _initializing = false;\\n }\\n }\\n\\n /// @dev Returns true if and only if the function is running in the constructor\\n function _isConstructor() private view returns (bool) {\\n return !AddressUpgradeable.isContract(address(this));\\n }\\n}\\n\",\"keccak256\":\"0xd8e4eb08dcc1d1860fb347ba5ffd595242b9a1b66d49a47f2b4cb51c3f35017e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x1fd568d8b8ca285c801fbd1d3f40f848434d850a682c0273786cada3e0b84057\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\nimport \\\"../proxy/Initializable.sol\\\";\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with GSN meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal initializer {\\n __Context_init_unchained();\\n }\\n\\n function __Context_init_unchained() internal initializer {\\n }\\n function _msgSender() internal view virtual returns (address payable) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes memory) {\\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\\n return msg.data;\\n }\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0xbbf8a21b9a66c48d45ff771b8563c6df19ba451d63dfb8380a865c1e1f29d1a0\",\"license\":\"MIT\"},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (a == 0) return 0;\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {trySub}.\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryDiv}.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting with custom message when dividing by zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryMod}.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0xe22a1fc7400ae196eba2ad1562d0386462b00a6363b742d55a2fd2021a58586f\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0xbd74f587ab9b9711801baf667db1426e4a03fd2d7f15af33e0e0d0394e7cef76\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n // solhint-disable-next-line max-line-length\\n require((value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).add(value);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).sub(value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) { // Return data is optional\\n // solhint-disable-next-line max-line-length\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\",\"keccak256\":\"0xc77dd6233a82c7c6e3dc49da8f3456baa00ecd3ea4dfa9222002a9aebf155dcd\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf89f005a3d98f7768cdee2583707db0ac725cf567d455751af32ee68132f3db3\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor () {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0x1153f6dd334c01566417b8c551122450542a2b75a2bbb379d59a8c320ed6da28\",\"license\":\"MIT\"},\"contracts/RelayerV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.7.6;\\npragma abicoder v2;\\n\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\nimport \\\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\\\";\\nimport \\\"@openzeppelin/contracts/math/SafeMath.sol\\\";\\nimport \\\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\\\";\\nimport \\\"hardhat-deploy/solc_0.7/proxy/Proxied.sol\\\";\\n\\nimport \\\"./interfaces/ILayerZeroRelayerV2.sol\\\";\\nimport \\\"./interfaces/ILayerZeroUltraLightNodeV2.sol\\\";\\nimport \\\"./interfaces/ILayerZeroPriceFeedV2.sol\\\";\\n\\ncontract RelayerV2 is ReentrancyGuard, OwnableUpgradeable, Proxied, ILayerZeroRelayerV2 {\\n using SafeERC20 for IERC20;\\n using SafeMath for uint;\\n using SafeMath for uint128;\\n using SafeMath for uint64;\\n\\n ILayerZeroUltraLightNodeV2 public uln;\\n address public stargateBridgeAddress;\\n uint public constant AIRDROP_GAS_LIMIT = 10000;\\n\\n struct DstPrice {\\n uint128 dstPriceRatio; // 10^10\\n uint128 dstGasPriceInWei;\\n }\\n\\n struct DstConfig {\\n uint128 dstNativeAmtCap;\\n uint64 baseGas;\\n uint64 gasPerByte;\\n }\\n\\n struct DstMultiplier {\\n uint16 chainId;\\n uint128 multiplier;\\n }\\n\\n struct DstFloorMargin {\\n uint16 chainId;\\n uint128 floorMargin;\\n }\\n\\n // [_chainId] => DstPriceData. change often\\n mapping(uint16 => DstPrice) public dstPriceLookupOld;\\n // [_chainId][_outboundProofType] => DstConfig. change much less often\\n mapping(uint16 => mapping(uint16 => DstConfig)) public dstConfigLookup;\\n mapping(address => bool) public approvedAddresses;\\n\\n event Withdraw(address to, uint amount);\\n event ApproveAddress(address addr, bool approved);\\n event SetPriceConfigUpdater(address priceConfigUpdater, bool allow);\\n event AssignJob(uint totalFee);\\n event ValueTransferFailed(address indexed to, uint indexed quantity);\\n event SetDstPrice(uint16 chainId, uint128 dstPriceRatio, uint128 dstGasPriceInWei);\\n event SetDstConfig(\\n uint16 chainId,\\n uint16 outboundProofType,\\n uint128 dstNativeAmtCap,\\n uint64 baseGas,\\n uint64 gasPerByte\\n );\\n\\n // new pauseable relayer\\n bool public paused;\\n\\n // Update for Price Feed\\n ILayerZeroPriceFeedV2 public priceFeed;\\n // multipler for airdrop\\n uint128 public multiplierBps;\\n\\n // PriceFeedContract Upgrade\\n // all encoded param bytes except for proof for validateTransactionProofV1\\n uint16 public validateProofBytes;\\n uint16 public fpBytes;\\n uint16 public mptOverhead;\\n\\n // [chainId] => [multiplier]\\n mapping(uint16 => uint128) public dstMultipliers;\\n // [chainId] => [floor margin in USD]\\n mapping(uint16 => uint128) public dstFloorMarginsUSD;\\n mapping(address => bool) public priceConfigUpdaters;\\n\\n // owner is always approved\\n modifier onlyApproved() {\\n if (owner() != msg.sender) {\\n require(isApproved(msg.sender), \\\"Relayer: not approved\\\");\\n }\\n _;\\n }\\n\\n modifier onlyPriceConfigUpdater() {\\n if (owner() != msg.sender && !approvedAddresses[msg.sender]) {\\n require(priceConfigUpdaters[msg.sender], \\\"Relayer: not updater\\\");\\n }\\n _;\\n }\\n\\n function initialize(address _uln, address _priceFeed) public proxied initializer {\\n __Ownable_init();\\n uln = ILayerZeroUltraLightNodeV2(_uln);\\n setApprovedAddress(address(this), true);\\n multiplierBps = 12000;\\n priceFeed = ILayerZeroPriceFeedV2(_priceFeed);\\n validateProofBytes = 164;\\n fpBytes = 160;\\n mptOverhead = 500;\\n }\\n\\n function onUpgrade(address _priceFeed) public proxied {\\n multiplierBps = 12000;\\n priceFeed = ILayerZeroPriceFeedV2(_priceFeed);\\n validateProofBytes = 164;\\n fpBytes = 160;\\n mptOverhead = 500;\\n }\\n\\n //----------------------------------------------------------------------------------\\n // onlyApproved\\n\\n function setDstPrice(uint16 _chainId, uint128 _dstPriceRatio, uint128 _dstGasPriceInWei) external onlyApproved {\\n // No longer used: Write prices in PriceFeed.\\n }\\n\\n function setPriceFeed(address _priceFeed) external onlyApproved {\\n priceFeed = ILayerZeroPriceFeedV2(_priceFeed);\\n }\\n\\n function setPriceMultiplierBps(uint128 _multiplierBps) external onlyApproved {\\n multiplierBps = _multiplierBps;\\n }\\n\\n function setDstPriceMultipliers(DstMultiplier[] calldata _multipliers) external onlyPriceConfigUpdater {\\n for (uint i = 0; i < _multipliers.length; i++) {\\n DstMultiplier calldata _data = _multipliers[i];\\n dstMultipliers[_data.chainId] = _data.multiplier;\\n }\\n }\\n\\n function setDstFloorMarginsUSD(DstFloorMargin[] calldata _margins) external onlyPriceConfigUpdater {\\n for (uint i = 0; i < _margins.length; i++) {\\n DstFloorMargin calldata _data = _margins[i];\\n dstFloorMarginsUSD[_data.chainId] = _data.floorMargin;\\n }\\n }\\n\\n function setDstConfig(\\n uint16 _chainId,\\n uint16 _outboundProofType,\\n uint128 _dstNativeAmtCap,\\n uint64 _baseGas,\\n uint64 _gasPerByte\\n ) external onlyApproved {\\n dstConfigLookup[_chainId][_outboundProofType] = DstConfig(_dstNativeAmtCap, _baseGas, _gasPerByte);\\n emit SetDstConfig(_chainId, _outboundProofType, _dstNativeAmtCap, _baseGas, _gasPerByte);\\n }\\n\\n function setStargateAddress(address _stargateAddress) external onlyApproved {\\n stargateBridgeAddress = _stargateAddress;\\n }\\n\\n //----------------------------------------------------------------------------------\\n // onlyOwner\\n\\n function setApprovedAddress(address _relayerAddress, bool _approve) public onlyOwner {\\n approvedAddresses[_relayerAddress] = _approve;\\n emit ApproveAddress(_relayerAddress, _approve);\\n }\\n\\n function setPriceConfigUpdater(address _priceConfigUpdater, bool _allow) public onlyOwner {\\n priceConfigUpdaters[_priceConfigUpdater] = _allow;\\n emit SetPriceConfigUpdater(_priceConfigUpdater, _allow);\\n }\\n\\n function setPause(bool _paused) public onlyOwner {\\n paused = _paused;\\n }\\n\\n // txType 1\\n // bytes [2 32 ]\\n // fields [txType extraGas]\\n // txType 2\\n // bytes [2 32 32 bytes[] ]\\n // fields [txType extraGas dstNativeAmt dstNativeAddress]\\n // User App Address is not used in this version\\n function _getPrices(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address,\\n uint _payloadSize,\\n bytes memory _adapterParameters\\n ) internal view returns (uint) {\\n require(!paused, \\\"Admin: paused\\\");\\n // decoding the _adapterParameters - reverts if type 2 and there is no dstNativeAddress\\n require(\\n _adapterParameters.length == 34 || _adapterParameters.length > 66,\\n \\\"Relayer: wrong _adapterParameters size\\\"\\n );\\n uint16 txType;\\n uint extraGas;\\n assembly {\\n txType := mload(add(_adapterParameters, 2))\\n extraGas := mload(add(_adapterParameters, 34))\\n }\\n require(extraGas > 0, \\\"Relayer: gas too low\\\");\\n require(txType == 1 || txType == 2, \\\"Relayer: unsupported txType\\\");\\n\\n DstConfig storage dstConfig = dstConfigLookup[_dstChainId][_outboundProofType];\\n\\n // validateTransactionProof bytes = fixedBytes + proofBytes\\n // V2 has an extra 32 bytes for payable address\\n uint totalFixedBytes = txType == 2 ? uint(validateProofBytes).add(32) : validateProofBytes;\\n uint proofBytes = _outboundProofType == 2 ? _payloadSize.add(fpBytes) : _payloadSize.add(mptOverhead);\\n\\n uint16 dstChainId = _dstChainId; // stack too deep\\n (uint fee, uint128 priceRatio, uint128 priceRatioDenominator, uint128 nativePriceUSD) = priceFeed\\n .estimateFeeByEid(dstChainId, totalFixedBytes.add(proofBytes), dstConfig.baseGas.add(extraGas));\\n\\n uint dstNativeAmt = 0;\\n if (txType == 2) {\\n assembly {\\n dstNativeAmt := mload(add(_adapterParameters, 66))\\n }\\n require(dstConfig.dstNativeAmtCap >= dstNativeAmt, \\\"Relayer: dstNativeAmt too large\\\");\\n }\\n uint airdropAmount = 0;\\n if (dstNativeAmt > 0) {\\n // gas saver if no airdrop\\n airdropAmount = dstNativeAmt.mul(priceRatio).div(priceRatioDenominator).mul(multiplierBps).div(10000); // cheaper than priceFeed.getPriceRatioDenominator()\\n }\\n return _getDstTxCost(dstChainId, fee, nativePriceUSD).add(airdropAmount);\\n }\\n\\n function _getDstTxCost(uint16 _dstChainId, uint _fee, uint128 nativeTokenPriceUSD) private view returns (uint) {\\n uint128 _dstMultiplier = dstMultipliers[_dstChainId];\\n if (_dstMultiplier == 0) {\\n _dstMultiplier = multiplierBps;\\n }\\n uint dstTxCostWithMultiplier = _fee.mul(_dstMultiplier).div(10000);\\n\\n if (nativeTokenPriceUSD == 0) {\\n return dstTxCostWithMultiplier;\\n }\\n\\n uint priceDenominator = 1e18;\\n uint dstTxCostWithMargin = _fee.add(\\n dstFloorMarginsUSD[_dstChainId].mul(priceDenominator).div(nativeTokenPriceUSD)\\n );\\n\\n return dstTxCostWithMargin > dstTxCostWithMultiplier ? dstTxCostWithMargin : dstTxCostWithMultiplier;\\n }\\n\\n function getFee(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external view override returns (uint) {\\n require(_payloadSize <= 10000, \\\"Relayer: _payloadSize tooooo big\\\");\\n return _getPrices(_dstChainId, _outboundProofType, _userApplication, _payloadSize, _adapterParams);\\n }\\n\\n // view function to convert pricefeed price to current price (for backwards compatibility)\\n function dstPriceLookup(uint16 _dstChainId) public view returns (DstPrice memory) {\\n ILayerZeroPriceFeedV2.Price memory price = priceFeed.getPrice(_dstChainId);\\n return DstPrice(price.priceRatio, price.gasPriceInUnit);\\n }\\n\\n function isApproved(address _relayerAddress) public view returns (bool) {\\n return approvedAddresses[_relayerAddress];\\n }\\n\\n function assignJob(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external override returns (uint fee) {\\n require(msg.sender == address(uln), \\\"Relayer: invalid uln\\\");\\n require(_payloadSize <= 10000, \\\"Relayer: _payloadSize tooooo big\\\");\\n fee = _getPrices(_dstChainId, _outboundProofType, _userApplication, _payloadSize, _adapterParams);\\n emit AssignJob(fee);\\n }\\n\\n function withdrawFee(address payable _to, uint _amount) external override onlyApproved {\\n uint totalFee = uln.accruedNativeFee(address(this));\\n require(_amount <= totalFee, \\\"Relayer: not enough fee for withdrawal\\\");\\n uln.withdrawNative(_to, _amount);\\n }\\n\\n function withdrawToken(address _token, address _to, uint _amount) external onlyApproved {\\n uint total = IERC20(_token).balanceOf(address(this));\\n require(_amount <= total, \\\"Relayer: not enough fee for withdrawal\\\");\\n IERC20(_token).safeTransfer(_to, _amount);\\n }\\n\\n function validateTransactionProofV2(\\n uint16 _srcChainId,\\n address _dstAddress,\\n uint _gasLimit,\\n bytes32 _blockHash,\\n bytes32 _data,\\n bytes calldata _transactionProof,\\n address payable _to\\n ) external payable onlyApproved nonReentrant {\\n (bool sent, ) = _to.call{gas: AIRDROP_GAS_LIMIT, value: msg.value}(\\\"\\\");\\n //require(sent, \\\"Relayer: failed to send ether\\\");\\n if (!sent) {\\n emit ValueTransferFailed(_to, msg.value);\\n }\\n uln.validateTransactionProof(_srcChainId, _dstAddress, _gasLimit, _blockHash, _data, _transactionProof);\\n }\\n\\n function validateTransactionProofV1(\\n uint16 _srcChainId,\\n address _dstAddress,\\n uint _gasLimit,\\n bytes32 _blockHash,\\n bytes32 _data,\\n bytes calldata _transactionProof\\n ) external onlyApproved nonReentrant {\\n uln.validateTransactionProof(_srcChainId, _dstAddress, _gasLimit, _blockHash, _data, _transactionProof);\\n }\\n}\\n\",\"keccak256\":\"0x4b61efafbbff17be19b2b0c94fe681f6fe478888398725bded80aa9029ba0459\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroPriceFeedV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.7.0;\\npragma abicoder v2;\\n\\n// copy of \\\"@layerzerolabs/lz-evm-messagelib-v2/contracts/interfaces/ILayerZeroPriceFeed.sol\\\"\\ninterface ILayerZeroPriceFeedV2 {\\n /**\\n * @dev\\n * priceRatio: (USD price of 1 unit of remote native token in unit of local native token) * PRICE_RATIO_DENOMINATOR\\n */\\n\\n struct Price {\\n uint128 priceRatio; // float value * 10 ^ 20, decimal awared. for aptos to evm, the basis would be (10^18 / 10^8) * 10 ^20 = 10 ^ 30.\\n uint64 gasPriceInUnit; // for evm, it is in wei, for aptos, it is in octas.\\n uint32 gasPerByte;\\n }\\n\\n struct UpdatePrice {\\n uint32 eid;\\n Price price;\\n }\\n\\n /**\\n * @dev\\n * ArbGasInfo.go:GetPricesInArbGas\\n *\\n */\\n struct ArbitrumPriceExt {\\n uint64 gasPerL2Tx; // L2 overhead\\n uint32 gasPerL1CallDataByte;\\n }\\n\\n struct UpdatePriceExt {\\n uint32 eid;\\n Price price;\\n ArbitrumPriceExt extend;\\n }\\n\\n function getPrice(uint32 _dstEid) external view returns (Price memory);\\n\\n function getPriceRatioDenominator() external view returns (uint128);\\n\\n function estimateFeeByEid(\\n uint32 _dstEid,\\n uint _callDataSize,\\n uint _gas\\n ) external view returns (uint fee, uint128 priceRatio, uint128 priceRatioDenominator, uint128 nativePriceUSD);\\n}\\n\",\"keccak256\":\"0xfbe8d15c8baebbdbfa172294bc402bc9955a765d545200e4179944b0bb02497f\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroRelayerV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.7.0;\\n\\ninterface ILayerZeroRelayerV2 {\\n // @notice query price and assign jobs at the same time\\n // @param _dstChainId - the destination endpoint identifier\\n // @param _outboundProofType - the proof type identifier to specify proof to be relayed\\n // @param _userApplication - the source sending contract address. relayers may apply price discrimination to user apps\\n // @param _payloadSize - the length of the payload. it is an indicator of gas usage for relaying cross-chain messages\\n // @param _adapterParams - optional parameters for extra service plugins, e.g. sending dust tokens at the destination chain\\n function assignJob(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external returns (uint price);\\n\\n // @notice query the relayer price for relaying the payload and its proof to the destination chain\\n // @param _dstChainId - the destination endpoint identifier\\n // @param _outboundProofType - the proof type identifier to specify proof to be relayed\\n // @param _userApplication - the source sending contract address. relayers may apply price discrimination to user apps\\n // @param _payloadSize - the length of the payload. it is an indicator of gas usage for relaying cross-chain messages\\n // @param _adapterParams - optional parameters for extra service plugins, e.g. sending dust tokens at the destination chain\\n function getFee(\\n uint16 _dstChainId,\\n uint16 _outboundProofType,\\n address _userApplication,\\n uint _payloadSize,\\n bytes calldata _adapterParams\\n ) external view returns (uint price);\\n\\n // @notice withdraw the accrued fee in ultra light node\\n // @param _to - the fee receiver\\n // @param _amount - the withdrawal amount\\n function withdrawFee(address payable _to, uint _amount) external;\\n}\\n\",\"keccak256\":\"0x107681e3ab53b6b34780fe6c540e4ad2d149f94fdfe3e7b16e1101dc92ae914e\",\"license\":\"BUSL-1.1\"},\"contracts/interfaces/ILayerZeroUltraLightNodeV2.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.7.0;\\npragma abicoder v2;\\n\\ninterface ILayerZeroUltraLightNodeV2 {\\n // Relayer functions\\n function validateTransactionProof(\\n uint16 _srcChainId,\\n address _dstAddress,\\n uint _gasLimit,\\n bytes32 _lookupHash,\\n bytes32 _blockData,\\n bytes calldata _transactionProof\\n ) external;\\n\\n // an Oracle delivers the block data using updateHash()\\n function updateHash(uint16 _srcChainId, bytes32 _lookupHash, uint _confirmations, bytes32 _blockData) external;\\n\\n // can only withdraw the receivable of the msg.sender\\n function withdrawNative(address payable _to, uint _amount) external;\\n\\n function withdrawZRO(address _to, uint _amount) external;\\n\\n // view functions\\n function getAppConfig(\\n uint16 _remoteChainId,\\n address _userApplicationAddress\\n ) external view returns (ApplicationConfiguration memory);\\n\\n function accruedNativeFee(address _address) external view returns (uint);\\n\\n struct ApplicationConfiguration {\\n uint16 inboundProofLibraryVersion;\\n uint64 inboundBlockConfirmations;\\n address relayer;\\n uint16 outboundProofType;\\n uint64 outboundBlockConfirmations;\\n address oracle;\\n }\\n\\n event HashReceived(\\n uint16 indexed srcChainId,\\n address indexed oracle,\\n bytes32 lookupHash,\\n bytes32 blockData,\\n uint confirmations\\n );\\n event RelayerParams(bytes adapterParams, uint16 outboundProofType);\\n event Packet(bytes payload);\\n event InvalidDst(\\n uint16 indexed srcChainId,\\n bytes srcAddress,\\n address indexed dstAddress,\\n uint64 nonce,\\n bytes32 payloadHash\\n );\\n event PacketReceived(\\n uint16 indexed srcChainId,\\n bytes srcAddress,\\n address indexed dstAddress,\\n uint64 nonce,\\n bytes32 payloadHash\\n );\\n event AppConfigUpdated(address indexed userApplication, uint indexed configType, bytes newConfig);\\n event AddInboundProofLibraryForChain(uint16 indexed chainId, address lib);\\n event EnableSupportedOutboundProof(uint16 indexed chainId, uint16 proofType);\\n event SetChainAddressSize(uint16 indexed chainId, uint size);\\n event SetDefaultConfigForChainId(\\n uint16 indexed chainId,\\n uint16 inboundProofLib,\\n uint64 inboundBlockConfirm,\\n address relayer,\\n uint16 outboundProofType,\\n uint64 outboundBlockConfirm,\\n address oracle\\n );\\n event SetDefaultAdapterParamsForChainId(uint16 indexed chainId, uint16 indexed proofType, bytes adapterParams);\\n event SetLayerZeroToken(address indexed tokenAddress);\\n event SetRemoteUln(uint16 indexed chainId, bytes32 uln);\\n event SetTreasury(address indexed treasuryAddress);\\n event WithdrawZRO(address indexed msgSender, address indexed to, uint amount);\\n event WithdrawNative(address indexed msgSender, address indexed to, uint amount);\\n}\\n\",\"keccak256\":\"0xf1f36bbbc40d03b96affa151affb47da75a1b69dc79f4b311841a072d12fdd22\",\"license\":\"BUSL-1.1\"},\"hardhat-deploy/solc_0.7/proxy/Proxied.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\",\"keccak256\":\"0x760a00cd889372a2358732403723d8a13cb8b02bb82450a9bf5488177828aa79\",\"license\":\"MIT\"}},\"version\":1}",
954
+ "bytecode": "0x608060405234801561001057600080fd5b506001600055613497806100256000396000f3fe6080604052600436106102855760003560e01c8063741bef1a11610153578063b8f8bad4116100cb578063d5f8b0141161007f578063f2fde38b11610064578063f2fde38b146106da578063fa34c84e146106fa578063fd9be5221461071a57610285565b8063d5f8b0141461069a578063f136a874146106ba57610285565b8063bf4dab51116100b0578063bf4dab511461063a578063c03f15291461065a578063c3b04e7f1461067a57610285565b8063b8f8bad4146105fa578063bedb86fb1461061a57610285565b80638576db67116101225780638da5cb5b116101075780638da5cb5b146105bb57806398dabd50146105d0578063ac353e04146105e557610285565b80638576db671461056d5780638644c5781461058d57610285565b8063741bef1a146104f6578063765a8a541461050b578063801db1fe1461053857806381ba209a1461055857610285565b806355b3524911610201578063673448dd116101b55780636c473aff1161019a5780636c473aff146104ac578063715018a6146104c1578063724e78da146104d657610285565b8063673448dd1461046a57806369cf4e3a1461048a57610285565b80635886ea65116101e65780635886ea65146104065780635c975abb146104265780636348d2691461044857610285565b806355b35249146103c6578063575765e2146103e657610285565b8063252f7b011161025857806343b9a0c41161023d57806343b9a0c414610357578063485cc955146103795780634eeba2501461039957610285565b8063252f7b01146103175780633f1034871461033757610285565b806301e336671461028a57806303343f54146102ac5780630508941e146102cc57806323161ff8146102df575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612a9c565b61073a565b005b3480156102b857600080fd5b506102aa6102c7366004612a1d565b610853565b6102aa6102da366004612c95565b6108c9565b3480156102eb57600080fd5b506102ff6102fa366004612d72565b610a9b565b60405161030e93929190613224565b60405180910390f35b34801561032357600080fd5b506102aa610332366004612c13565b610b09565b34801561034357600080fd5b506102aa610352366004612e1a565b610c37565b34801561036357600080fd5b5061036c610dc2565b60405161030e919061334a565b34801561038557600080fd5b506102aa610394366004612a64565b610dc8565b3480156103a557600080fd5b506103b96103b4366004612bf9565b61101a565b60405161030e91906131e4565b3480156103d257600080fd5b506103b96103e1366004612bf9565b61103e565b3480156103f257600080fd5b506102aa610401366004612adc565b611062565b34801561041257600080fd5b5061036c610421366004612d9b565b611138565b34801561043257600080fd5b5061043b61120d565b60405161030e9190612f3d565b34801561045457600080fd5b5061045d611216565b60405161030e9190612ef5565b34801561047657600080fd5b5061043b610485366004612a1d565b611225565b34801561049657600080fd5b5061049f611247565b60405161030e9190613258565b3480156104b857600080fd5b5061045d611267565b3480156104cd57600080fd5b506102aa611276565b3480156104e257600080fd5b506102aa6104f1366004612a1d565b61134c565b34801561050257600080fd5b5061045d6113c7565b34801561051757600080fd5b5061052b610526366004612bf9565b6113db565b60405161030e91906131b8565b34801561054457600080fd5b506102aa610553366004612adc565b6114c0565b34801561056457600080fd5b5061049f61158a565b34801561057957600080fd5b5061043b610588366004612a1d565b6115ac565b34801561059957600080fd5b506105ad6105a8366004612bf9565b6115c1565b60405161030e929190613201565b3480156105c757600080fd5b5061045d6115fd565b3480156105dc57600080fd5b5061049f61160c565b3480156105f157600080fd5b506103b961162a565b34801561060657600080fd5b506102aa610615366004612d2a565b611642565b34801561062657600080fd5b506102aa610635366004612b50565b611683565b34801561064657600080fd5b506102aa610655366004612b10565b61170a565b34801561066657600080fd5b5061036c610675366004612d9b565b61180e565b34801561068657600080fd5b506102aa610695366004612bdd565b611880565b3480156106a657600080fd5b506102aa6106b5366004612b10565b6118ff565b3480156106c657600080fd5b5061043b6106d5366004612a1d565b611a03565b3480156106e657600080fd5b506102aa6106f5366004612a1d565b611a18565b34801561070657600080fd5b506102aa610715366004612a1d565b611b45565b34801561072657600080fd5b506102aa610735366004612a39565b611cbd565b336107436115fd565b6001600160a01b03161461077f5761075a33611225565b61077f5760405162461bcd60e51b815260040161077690612f48565b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b038516906370a08231906107c7903090600401612ef5565b60206040518083038186803b1580156107df57600080fd5b505afa1580156107f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108179190612e86565b9050808211156108395760405162461bcd60e51b81526004016107769061307f565b61084d6001600160a01b0385168484611e37565b50505050565b3361085c6115fd565b6001600160a01b03161461088f5761087333611225565b61088f5760405162461bcd60e51b815260040161077690612f48565b606780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b336108d26115fd565b6001600160a01b031614610905576108e933611225565b6109055760405162461bcd60e51b815260040161077690612f48565b6002600054141561095d576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000819055506000816001600160a01b03166127103460405161098190612ef2565b600060405180830381858888f193505050503d80600081146109bf576040519150601f19603f3d011682016040523d82523d6000602084013e6109c4565b606091505b5050905080610a045760405134906001600160a01b038416907f2c7a964ca3de5ec1d42d9822f9bbd0eb142a59cc9f855e9d93813b773192c7a390600090a35b6066546040517f987fa2d50000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063987fa2d590610a59908c908c908c908c908c908c908c90600401613267565b600060405180830381600087803b158015610a7357600080fd5b505af1158015610a87573d6000803e3d6000fd5b505060016000555050505050505050505050565b60696020908152600092835260408084209091529082529020546fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b33610b126115fd565b6001600160a01b031614610b4557610b2933611225565b610b455760405162461bcd60e51b815260040161077690612f48565b60026000541415610b9d576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556066546040517f987fa2d50000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063987fa2d590610bf7908a908a908a908a908a908a908a90600401613267565b600060405180830381600087803b158015610c1157600080fd5b505af1158015610c25573d6000803e3d6000fd5b50506001600055505050505050505050565b33610c406115fd565b6001600160a01b031614610c7357610c5733611225565b610c735760405162461bcd60e51b815260040161077690612f48565b604080516060810182526fffffffffffffffffffffffffffffffff858116825267ffffffffffffffff858116602080850191825286831685870190815261ffff8c8116600090815260698452888120918d16815292529086902094518554925191517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093169416939093177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16700100000000000000000000000000000000938316939093029290921777ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009290911691909102179055517fd053e021dda81c7c2794ff89e320caea5379962d49ed383a3bd0a54ffc4b932f90610db390879087908790879087906132e4565b60405180910390a15050505050565b61271081565b6000610dd2611eb7565b90506001600160a01b038116610e11576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610e26565b336001600160a01b03821614610e2657600080fd5b600154610100900460ff1680610e3f5750610e3f611edc565b80610e4d575060015460ff16155b610e885760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff16158015610eb2576001805460ff1961ff00199091166101001716811790555b610eba611eed565b606680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038616179055610ef8306001611062565b606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b03881602179055612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055801561084d576001805461ff001916905550505050565b606d602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b606e602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b61106a611f9e565b6001600160a01b031661107b6115fd565b6001600160a01b0316146110d6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152606a602052604090819020805460ff1916831515179055517fb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f10239061112c9084908490612f22565b60405180910390a15050565b6066546000906001600160a01b031633146111655760405162461bcd60e51b8152600401610776906130dc565b6127108411156111875760405162461bcd60e51b815260040161077690612f7f565b6111ca8787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611fa292505050565b90507fdf21c415b78ed2552cc9971249e32a053abce6087a0ae0fbf3f78db5174a3493816040516111fb919061334a565b60405180910390a19695505050505050565b606b5460ff1681565b6067546001600160a01b031681565b6001600160a01b0381166000908152606a602052604090205460ff165b919050565b606c547201000000000000000000000000000000000000900461ffff1681565b6066546001600160a01b031681565b61127e611f9e565b6001600160a01b031661128f6115fd565b6001600160a01b0316146112ea576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6034546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b336113556115fd565b6001600160a01b0316146113885761136c33611225565b6113885760405162461bcd60e51b815260040161077690612f48565b606b80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606b5461010090046001600160a01b031681565b6113e361295a565b606b546040517fda26663a00000000000000000000000000000000000000000000000000000000815260009161010090046001600160a01b03169063da26663a90611432908690600401613258565b60606040518083038186803b15801561144a57600080fd5b505afa15801561145e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114829190612b6a565b6040805180820190915281516fffffffffffffffffffffffffffffffff16815260209182015167ffffffffffffffff16918101919091529392505050565b6114c8611f9e565b6001600160a01b03166114d96115fd565b6001600160a01b031614611534576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152606f602052604090819020805460ff1916831515179055517fde6b048d6c4e63d85fde37ccbe03f4380c6d12cb2a1e9ce9268bbf47a1ef68789061112c9084908490612f22565b606c5474010000000000000000000000000000000000000000900461ffff1681565b606f6020526000908152604090205460ff1681565b6068602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b6034546001600160a01b031690565b606c54700100000000000000000000000000000000900461ffff1681565b606c546fffffffffffffffffffffffffffffffff1681565b3361164b6115fd565b6001600160a01b03161461167e5761166233611225565b61167e5760405162461bcd60e51b815260040161077690612f48565b505050565b61168b611f9e565b6001600160a01b031661169c6115fd565b6001600160a01b0316146116f7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606b805460ff1916911515919091179055565b336117136115fd565b6001600160a01b03161415801561173a5750336000908152606a602052604090205460ff16155b1561176e57336000908152606f602052604090205460ff1661176e5760405162461bcd60e51b815260040161077690613048565b60005b8181101561167e573683838381811061178657fe5b90506040020190508060200160208101906117a19190612bdd565b606d60006117b26020850185612bf9565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611771565b60006127108411156118325760405162461bcd60e51b815260040161077690612f7f565b6118758787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611fa292505050565b979650505050505050565b336118896115fd565b6001600160a01b0316146118bc576118a033611225565b6118bc5760405162461bcd60e51b815260040161077690612f48565b606c80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b336119086115fd565b6001600160a01b03161415801561192f5750336000908152606a602052604090205460ff16155b1561196357336000908152606f602052604090205460ff166119635760405162461bcd60e51b815260040161077690613048565b60005b8181101561167e573683838381811061197b57fe5b90506040020190508060200160208101906119969190612bdd565b606e60006119a76020850185612bf9565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611966565b606a6020526000908152604090205460ff1681565b611a20611f9e565b6001600160a01b0316611a316115fd565b6001600160a01b031614611a8c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611ad15760405162461bcd60e51b815260040180806020018281038252602681526020018061339d6026913960400191505060405180910390fd5b6034546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000611b4f611eb7565b90506001600160a01b038116611b8e576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355611ba3565b336001600160a01b03821614611ba357600080fd5b50606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b03959095169490940293909317909255612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055565b33611cc66115fd565b6001600160a01b031614611cf957611cdd33611225565b611cf95760405162461bcd60e51b815260040161077690612f48565b6066546040517f69412bfa0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906369412bfa90611d43903090600401612ef5565b60206040518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d939190612e86565b905080821115611db55760405162461bcd60e51b81526004016107769061307f565b6066546040517f07b18bde0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116906307b18bde90611e009086908690600401612f09565b600060405180830381600087803b158015611e1a57600080fd5b505af1158015611e2e573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261167e9084906122b8565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6000611ee730612369565b15905090565b600154610100900460ff1680611f065750611f06611edc565b80611f14575060015460ff16155b611f4f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff16158015611f79576001805460ff1961ff00199091166101001716811790555b611f8161236f565b611f8961240e565b8015611f9b576001805461ff00191690555b50565b3390565b606b5460009060ff1615611fc85760405162461bcd60e51b815260040161077690613113565b815160221480611fd9575060428251115b611ff55760405162461bcd60e51b815260040161077690612fb4565b600282015160228301518061201c5760405162461bcd60e51b81526004016107769061314a565b8161ffff166001148061203357508161ffff166002145b61204f5760405162461bcd60e51b815260040161077690613011565b61ffff88811660009081526069602090815260408083208b85168452909152812091841660021461209a57606c54700100000000000000000000000000000000900461ffff166120c0565b606c546120c090700100000000000000000000000000000000900461ffff16602061251e565b905060008961ffff166002146120ff57606c546120fa90899074010000000000000000000000000000000000000000900461ffff1661251e565b612127565b606c546121279089907201000000000000000000000000000000000000900461ffff1661251e565b606b549091508b9060009081908190819061010090046001600160a01b03166388a4124c866121568a8a61251e565b8b5461218090700100000000000000000000000000000000900467ffffffffffffffff168e61251e565b6040518463ffffffff1660e01b815260040161219e9392919061332e565b60806040518083038186803b1580156121b657600080fd5b505afa1580156121ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ee9190612e9e565b935093509350935060008a61ffff166002141561223e575060428c015188546fffffffffffffffffffffffffffffffff1681111561223e5760405162461bcd60e51b815260040161077690613181565b6000811561228c57606c54612289906127109061227d906fffffffffffffffffffffffffffffffff908116906122839089811690849089908d16612581565b906125da565b90612581565b90505b6122a18161229b898987612641565b9061251e565b9c5050505050505050505050505095945050505050565b600061230d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127369092919063ffffffff16565b80519091501561167e5780806020019051602081101561232c57600080fd5b505161167e5760405162461bcd60e51b815260040180806020018281038252602a815260200180613438602a913960400191505060405180910390fd5b3b151590565b600154610100900460ff16806123885750612388611edc565b80612396575060015460ff16155b6123d15760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff16158015611f89576001805460ff1961ff00199091166101001716811790558015611f9b576001805461ff001916905550565b600154610100900460ff16806124275750612427611edc565b80612435575060015460ff16155b6124705760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff1615801561249a576001805460ff1961ff00199091166101001716811790555b60006124a4611f9e565b603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611f9b576001805461ff001916905550565b600082820183811015612578576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000826125905750600061257b565b8282028284828161259d57fe5b04146125785760405162461bcd60e51b81526004018080602001828103825260218152602001806134176021913960400191505060405180910390fd5b6000808211612630576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161263957fe5b049392505050565b61ffff83166000908152606d60205260408120546fffffffffffffffffffffffffffffffff16806126835750606c546fffffffffffffffffffffffffffffffff165b60006126a761271061227d876fffffffffffffffffffffffffffffffff8616612581565b90506fffffffffffffffffffffffffffffffff84166126c957915061272f9050565b61ffff86166000908152606e6020526040812054670de0b6b3a7640000919061271790612710906fffffffffffffffffffffffffffffffff808a169161227d911686612581565b889061251e565b90508281116127265782612728565b805b9450505050505b9392505050565b6060612745848460008561274d565b949350505050565b60608247101561278e5760405162461bcd60e51b81526004018080602001828103825260268152602001806133c36026913960400191505060405180910390fd5b61279785612369565b6127e8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b6020831061284457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612807565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128a6576040519150601f19603f3d011682016040523d82523d6000602084013e6128ab565b606091505b5091509150611875828286606083156128c557508161272f565b8251156128d55782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561291f578181015183820152602001612907565b50505050905090810190601f16801561294c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080518082019091526000808252602082015290565b60008083601f840112612982578182fd5b50813567ffffffffffffffff811115612999578182fd5b6020830191508360206040830285010111156129b457600080fd5b9250929050565b8035801515811461124257600080fd5b60008083601f8401126129dc578182fd5b50813567ffffffffffffffff8111156129f3578182fd5b6020830191508360208285010111156129b457600080fd5b803561ffff8116811461124257600080fd5b600060208284031215612a2e578081fd5b813561257881613353565b60008060408385031215612a4b578081fd5b8235612a5681613353565b946020939093013593505050565b60008060408385031215612a76578182fd5b8235612a8181613353565b91506020830135612a9181613353565b809150509250929050565b600080600060608486031215612ab0578081fd5b8335612abb81613353565b92506020840135612acb81613353565b929592945050506040919091013590565b60008060408385031215612aee578182fd5b8235612af981613353565b9150612b07602084016129bb565b90509250929050565b60008060208385031215612b22578182fd5b823567ffffffffffffffff811115612b38578283fd5b612b4485828601612971565b90969095509350505050565b600060208284031215612b61578081fd5b61272f826129bb565b600060608284031215612b7b578081fd5b6040516060810181811067ffffffffffffffff82111715612b9857fe5b6040528251612ba681613368565b81526020830151612bb681613386565b6020820152604083015163ffffffff81168114612bd1578283fd5b60408201529392505050565b600060208284031215612bee578081fd5b813561257881613368565b600060208284031215612c0a578081fd5b61272f82612a0b565b600080600080600080600060c0888a031215612c2d578485fd5b612c3688612a0b565b96506020880135612c4681613353565b955060408801359450606088013593506080880135925060a088013567ffffffffffffffff811115612c76578283fd5b612c828a828b016129cb565b989b979a50959850939692959293505050565b60008060008060008060008060e0898b031215612cb0578182fd5b612cb989612a0b565b97506020890135612cc981613353565b965060408901359550606089013594506080890135935060a089013567ffffffffffffffff811115612cf9578283fd5b612d058b828c016129cb565b90945092505060c0890135612d1981613353565b809150509295985092959890939650565b600080600060608486031215612d3e578081fd5b612d4784612a0b565b92506020840135612d5781613368565b91506040840135612d6781613368565b809150509250925092565b60008060408385031215612d84578182fd5b612d8d83612a0b565b9150612b0760208401612a0b565b60008060008060008060a08789031215612db3578384fd5b612dbc87612a0b565b9550612dca60208801612a0b565b94506040870135612dda81613353565b935060608701359250608087013567ffffffffffffffff811115612dfc578283fd5b612e0889828a016129cb565b979a9699509497509295939492505050565b600080600080600060a08688031215612e31578283fd5b612e3a86612a0b565b9450612e4860208701612a0b565b93506040860135612e5881613368565b92506060860135612e6881613386565b91506080860135612e7881613386565b809150509295509295909350565b600060208284031215612e97578081fd5b5051919050565b60008060008060808587031215612eb3578182fd5b845193506020850151612ec581613368565b6040860151909350612ed681613368565b6060860151909250612ee781613368565b939692955090935050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039290921682521515602082015260400190565b901515815260200190565b60208082526015908201527f52656c617965723a206e6f7420617070726f7665640000000000000000000000604082015260600190565b6020808252818101527f52656c617965723a205f7061796c6f616453697a6520746f6f6f6f6f20626967604082015260600190565b60208082526026908201527f52656c617965723a2077726f6e67205f61646170746572506172616d6574657260408201527f732073697a650000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52656c617965723a20756e737570706f72746564207478547970650000000000604082015260600190565b60208082526014908201527f52656c617965723a206e6f742075706461746572000000000000000000000000604082015260600190565b60208082526026908201527f52656c617965723a206e6f7420656e6f7567682066656520666f72207769746860408201527f64726177616c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f52656c617965723a20696e76616c696420756c6e000000000000000000000000604082015260600190565b6020808252600d908201527f41646d696e3a2070617573656400000000000000000000000000000000000000604082015260600190565b60208082526014908201527f52656c617965723a2067617320746f6f206c6f77000000000000000000000000604082015260600190565b6020808252601f908201527f52656c617965723a206473744e6174697665416d7420746f6f206c6172676500604082015260600190565b81516fffffffffffffffffffffffffffffffff9081168252602092830151169181019190915260400190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6fffffffffffffffffffffffffffffffff93909316835267ffffffffffffffff918216602084015216604082015260600190565b61ffff91909116815260200190565b600061ffff891682526001600160a01b038816602083015286604083015285606083015284608083015260c060a08301528260c0830152828460e084013781830160e090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01601019695505050505050565b61ffff95861681529390941660208401526fffffffffffffffffffffffffffffffff91909116604083015267ffffffffffffffff9081166060830152909116608082015260a00190565b61ffff9390931683526020830191909152604082015260600190565b90815260200190565b6001600160a01b0381168114611f9b57600080fd5b6fffffffffffffffffffffffffffffffff81168114611f9b57600080fd5b67ffffffffffffffff81168114611f9b57600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212206e049973a8018635560d2ae382431ef5a97c93af9d3bf02df9291cb611b14d8064736f6c63430007060033",
955
+ "deployedBytecode": "0x6080604052600436106102855760003560e01c8063741bef1a11610153578063b8f8bad4116100cb578063d5f8b0141161007f578063f2fde38b11610064578063f2fde38b146106da578063fa34c84e146106fa578063fd9be5221461071a57610285565b8063d5f8b0141461069a578063f136a874146106ba57610285565b8063bf4dab51116100b0578063bf4dab511461063a578063c03f15291461065a578063c3b04e7f1461067a57610285565b8063b8f8bad4146105fa578063bedb86fb1461061a57610285565b80638576db67116101225780638da5cb5b116101075780638da5cb5b146105bb57806398dabd50146105d0578063ac353e04146105e557610285565b80638576db671461056d5780638644c5781461058d57610285565b8063741bef1a146104f6578063765a8a541461050b578063801db1fe1461053857806381ba209a1461055857610285565b806355b3524911610201578063673448dd116101b55780636c473aff1161019a5780636c473aff146104ac578063715018a6146104c1578063724e78da146104d657610285565b8063673448dd1461046a57806369cf4e3a1461048a57610285565b80635886ea65116101e65780635886ea65146104065780635c975abb146104265780636348d2691461044857610285565b806355b35249146103c6578063575765e2146103e657610285565b8063252f7b011161025857806343b9a0c41161023d57806343b9a0c414610357578063485cc955146103795780634eeba2501461039957610285565b8063252f7b01146103175780633f1034871461033757610285565b806301e336671461028a57806303343f54146102ac5780630508941e146102cc57806323161ff8146102df575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612a9c565b61073a565b005b3480156102b857600080fd5b506102aa6102c7366004612a1d565b610853565b6102aa6102da366004612c95565b6108c9565b3480156102eb57600080fd5b506102ff6102fa366004612d72565b610a9b565b60405161030e93929190613224565b60405180910390f35b34801561032357600080fd5b506102aa610332366004612c13565b610b09565b34801561034357600080fd5b506102aa610352366004612e1a565b610c37565b34801561036357600080fd5b5061036c610dc2565b60405161030e919061334a565b34801561038557600080fd5b506102aa610394366004612a64565b610dc8565b3480156103a557600080fd5b506103b96103b4366004612bf9565b61101a565b60405161030e91906131e4565b3480156103d257600080fd5b506103b96103e1366004612bf9565b61103e565b3480156103f257600080fd5b506102aa610401366004612adc565b611062565b34801561041257600080fd5b5061036c610421366004612d9b565b611138565b34801561043257600080fd5b5061043b61120d565b60405161030e9190612f3d565b34801561045457600080fd5b5061045d611216565b60405161030e9190612ef5565b34801561047657600080fd5b5061043b610485366004612a1d565b611225565b34801561049657600080fd5b5061049f611247565b60405161030e9190613258565b3480156104b857600080fd5b5061045d611267565b3480156104cd57600080fd5b506102aa611276565b3480156104e257600080fd5b506102aa6104f1366004612a1d565b61134c565b34801561050257600080fd5b5061045d6113c7565b34801561051757600080fd5b5061052b610526366004612bf9565b6113db565b60405161030e91906131b8565b34801561054457600080fd5b506102aa610553366004612adc565b6114c0565b34801561056457600080fd5b5061049f61158a565b34801561057957600080fd5b5061043b610588366004612a1d565b6115ac565b34801561059957600080fd5b506105ad6105a8366004612bf9565b6115c1565b60405161030e929190613201565b3480156105c757600080fd5b5061045d6115fd565b3480156105dc57600080fd5b5061049f61160c565b3480156105f157600080fd5b506103b961162a565b34801561060657600080fd5b506102aa610615366004612d2a565b611642565b34801561062657600080fd5b506102aa610635366004612b50565b611683565b34801561064657600080fd5b506102aa610655366004612b10565b61170a565b34801561066657600080fd5b5061036c610675366004612d9b565b61180e565b34801561068657600080fd5b506102aa610695366004612bdd565b611880565b3480156106a657600080fd5b506102aa6106b5366004612b10565b6118ff565b3480156106c657600080fd5b5061043b6106d5366004612a1d565b611a03565b3480156106e657600080fd5b506102aa6106f5366004612a1d565b611a18565b34801561070657600080fd5b506102aa610715366004612a1d565b611b45565b34801561072657600080fd5b506102aa610735366004612a39565b611cbd565b336107436115fd565b6001600160a01b03161461077f5761075a33611225565b61077f5760405162461bcd60e51b815260040161077690612f48565b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b038516906370a08231906107c7903090600401612ef5565b60206040518083038186803b1580156107df57600080fd5b505afa1580156107f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108179190612e86565b9050808211156108395760405162461bcd60e51b81526004016107769061307f565b61084d6001600160a01b0385168484611e37565b50505050565b3361085c6115fd565b6001600160a01b03161461088f5761087333611225565b61088f5760405162461bcd60e51b815260040161077690612f48565b606780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b336108d26115fd565b6001600160a01b031614610905576108e933611225565b6109055760405162461bcd60e51b815260040161077690612f48565b6002600054141561095d576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000819055506000816001600160a01b03166127103460405161098190612ef2565b600060405180830381858888f193505050503d80600081146109bf576040519150601f19603f3d011682016040523d82523d6000602084013e6109c4565b606091505b5050905080610a045760405134906001600160a01b038416907f2c7a964ca3de5ec1d42d9822f9bbd0eb142a59cc9f855e9d93813b773192c7a390600090a35b6066546040517f987fa2d50000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063987fa2d590610a59908c908c908c908c908c908c908c90600401613267565b600060405180830381600087803b158015610a7357600080fd5b505af1158015610a87573d6000803e3d6000fd5b505060016000555050505050505050505050565b60696020908152600092835260408084209091529082529020546fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b33610b126115fd565b6001600160a01b031614610b4557610b2933611225565b610b455760405162461bcd60e51b815260040161077690612f48565b60026000541415610b9d576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556066546040517f987fa2d50000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063987fa2d590610bf7908a908a908a908a908a908a908a90600401613267565b600060405180830381600087803b158015610c1157600080fd5b505af1158015610c25573d6000803e3d6000fd5b50506001600055505050505050505050565b33610c406115fd565b6001600160a01b031614610c7357610c5733611225565b610c735760405162461bcd60e51b815260040161077690612f48565b604080516060810182526fffffffffffffffffffffffffffffffff858116825267ffffffffffffffff858116602080850191825286831685870190815261ffff8c8116600090815260698452888120918d16815292529086902094518554925191517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093169416939093177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16700100000000000000000000000000000000938316939093029290921777ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009290911691909102179055517fd053e021dda81c7c2794ff89e320caea5379962d49ed383a3bd0a54ffc4b932f90610db390879087908790879087906132e4565b60405180910390a15050505050565b61271081565b6000610dd2611eb7565b90506001600160a01b038116610e11576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610e26565b336001600160a01b03821614610e2657600080fd5b600154610100900460ff1680610e3f5750610e3f611edc565b80610e4d575060015460ff16155b610e885760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff16158015610eb2576001805460ff1961ff00199091166101001716811790555b610eba611eed565b606680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038616179055610ef8306001611062565b606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b03881602179055612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055801561084d576001805461ff001916905550505050565b606d602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b606e602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b61106a611f9e565b6001600160a01b031661107b6115fd565b6001600160a01b0316146110d6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152606a602052604090819020805460ff1916831515179055517fb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f10239061112c9084908490612f22565b60405180910390a15050565b6066546000906001600160a01b031633146111655760405162461bcd60e51b8152600401610776906130dc565b6127108411156111875760405162461bcd60e51b815260040161077690612f7f565b6111ca8787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611fa292505050565b90507fdf21c415b78ed2552cc9971249e32a053abce6087a0ae0fbf3f78db5174a3493816040516111fb919061334a565b60405180910390a19695505050505050565b606b5460ff1681565b6067546001600160a01b031681565b6001600160a01b0381166000908152606a602052604090205460ff165b919050565b606c547201000000000000000000000000000000000000900461ffff1681565b6066546001600160a01b031681565b61127e611f9e565b6001600160a01b031661128f6115fd565b6001600160a01b0316146112ea576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6034546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b336113556115fd565b6001600160a01b0316146113885761136c33611225565b6113885760405162461bcd60e51b815260040161077690612f48565b606b80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606b5461010090046001600160a01b031681565b6113e361295a565b606b546040517fda26663a00000000000000000000000000000000000000000000000000000000815260009161010090046001600160a01b03169063da26663a90611432908690600401613258565b60606040518083038186803b15801561144a57600080fd5b505afa15801561145e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114829190612b6a565b6040805180820190915281516fffffffffffffffffffffffffffffffff16815260209182015167ffffffffffffffff16918101919091529392505050565b6114c8611f9e565b6001600160a01b03166114d96115fd565b6001600160a01b031614611534576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152606f602052604090819020805460ff1916831515179055517fde6b048d6c4e63d85fde37ccbe03f4380c6d12cb2a1e9ce9268bbf47a1ef68789061112c9084908490612f22565b606c5474010000000000000000000000000000000000000000900461ffff1681565b606f6020526000908152604090205460ff1681565b6068602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b6034546001600160a01b031690565b606c54700100000000000000000000000000000000900461ffff1681565b606c546fffffffffffffffffffffffffffffffff1681565b3361164b6115fd565b6001600160a01b03161461167e5761166233611225565b61167e5760405162461bcd60e51b815260040161077690612f48565b505050565b61168b611f9e565b6001600160a01b031661169c6115fd565b6001600160a01b0316146116f7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606b805460ff1916911515919091179055565b336117136115fd565b6001600160a01b03161415801561173a5750336000908152606a602052604090205460ff16155b1561176e57336000908152606f602052604090205460ff1661176e5760405162461bcd60e51b815260040161077690613048565b60005b8181101561167e573683838381811061178657fe5b90506040020190508060200160208101906117a19190612bdd565b606d60006117b26020850185612bf9565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611771565b60006127108411156118325760405162461bcd60e51b815260040161077690612f7f565b6118758787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611fa292505050565b979650505050505050565b336118896115fd565b6001600160a01b0316146118bc576118a033611225565b6118bc5760405162461bcd60e51b815260040161077690612f48565b606c80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b336119086115fd565b6001600160a01b03161415801561192f5750336000908152606a602052604090205460ff16155b1561196357336000908152606f602052604090205460ff166119635760405162461bcd60e51b815260040161077690613048565b60005b8181101561167e573683838381811061197b57fe5b90506040020190508060200160208101906119969190612bdd565b606e60006119a76020850185612bf9565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611966565b606a6020526000908152604090205460ff1681565b611a20611f9e565b6001600160a01b0316611a316115fd565b6001600160a01b031614611a8c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611ad15760405162461bcd60e51b815260040180806020018281038252602681526020018061339d6026913960400191505060405180910390fd5b6034546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000611b4f611eb7565b90506001600160a01b038116611b8e576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355611ba3565b336001600160a01b03821614611ba357600080fd5b50606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b03959095169490940293909317909255612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f40000000000000000000000000000000000000000179055565b33611cc66115fd565b6001600160a01b031614611cf957611cdd33611225565b611cf95760405162461bcd60e51b815260040161077690612f48565b6066546040517f69412bfa0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906369412bfa90611d43903090600401612ef5565b60206040518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d939190612e86565b905080821115611db55760405162461bcd60e51b81526004016107769061307f565b6066546040517f07b18bde0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116906307b18bde90611e009086908690600401612f09565b600060405180830381600087803b158015611e1a57600080fd5b505af1158015611e2e573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261167e9084906122b8565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6000611ee730612369565b15905090565b600154610100900460ff1680611f065750611f06611edc565b80611f14575060015460ff16155b611f4f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff16158015611f79576001805460ff1961ff00199091166101001716811790555b611f8161236f565b611f8961240e565b8015611f9b576001805461ff00191690555b50565b3390565b606b5460009060ff1615611fc85760405162461bcd60e51b815260040161077690613113565b815160221480611fd9575060428251115b611ff55760405162461bcd60e51b815260040161077690612fb4565b600282015160228301518061201c5760405162461bcd60e51b81526004016107769061314a565b8161ffff166001148061203357508161ffff166002145b61204f5760405162461bcd60e51b815260040161077690613011565b61ffff88811660009081526069602090815260408083208b85168452909152812091841660021461209a57606c54700100000000000000000000000000000000900461ffff166120c0565b606c546120c090700100000000000000000000000000000000900461ffff16602061251e565b905060008961ffff166002146120ff57606c546120fa90899074010000000000000000000000000000000000000000900461ffff1661251e565b612127565b606c546121279089907201000000000000000000000000000000000000900461ffff1661251e565b606b549091508b9060009081908190819061010090046001600160a01b03166388a4124c866121568a8a61251e565b8b5461218090700100000000000000000000000000000000900467ffffffffffffffff168e61251e565b6040518463ffffffff1660e01b815260040161219e9392919061332e565b60806040518083038186803b1580156121b657600080fd5b505afa1580156121ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ee9190612e9e565b935093509350935060008a61ffff166002141561223e575060428c015188546fffffffffffffffffffffffffffffffff1681111561223e5760405162461bcd60e51b815260040161077690613181565b6000811561228c57606c54612289906127109061227d906fffffffffffffffffffffffffffffffff908116906122839089811690849089908d16612581565b906125da565b90612581565b90505b6122a18161229b898987612641565b9061251e565b9c5050505050505050505050505095945050505050565b600061230d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127369092919063ffffffff16565b80519091501561167e5780806020019051602081101561232c57600080fd5b505161167e5760405162461bcd60e51b815260040180806020018281038252602a815260200180613438602a913960400191505060405180910390fd5b3b151590565b600154610100900460ff16806123885750612388611edc565b80612396575060015460ff16155b6123d15760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff16158015611f89576001805460ff1961ff00199091166101001716811790558015611f9b576001805461ff001916905550565b600154610100900460ff16806124275750612427611edc565b80612435575060015460ff16155b6124705760405162461bcd60e51b815260040180806020018281038252602e8152602001806133e9602e913960400191505060405180910390fd5b600154610100900460ff1615801561249a576001805460ff1961ff00199091166101001716811790555b60006124a4611f9e565b603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611f9b576001805461ff001916905550565b600082820183811015612578576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000826125905750600061257b565b8282028284828161259d57fe5b04146125785760405162461bcd60e51b81526004018080602001828103825260218152602001806134176021913960400191505060405180910390fd5b6000808211612630576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161263957fe5b049392505050565b61ffff83166000908152606d60205260408120546fffffffffffffffffffffffffffffffff16806126835750606c546fffffffffffffffffffffffffffffffff165b60006126a761271061227d876fffffffffffffffffffffffffffffffff8616612581565b90506fffffffffffffffffffffffffffffffff84166126c957915061272f9050565b61ffff86166000908152606e6020526040812054670de0b6b3a7640000919061271790612710906fffffffffffffffffffffffffffffffff808a169161227d911686612581565b889061251e565b90508281116127265782612728565b805b9450505050505b9392505050565b6060612745848460008561274d565b949350505050565b60608247101561278e5760405162461bcd60e51b81526004018080602001828103825260268152602001806133c36026913960400191505060405180910390fd5b61279785612369565b6127e8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b6020831061284457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612807565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128a6576040519150601f19603f3d011682016040523d82523d6000602084013e6128ab565b606091505b5091509150611875828286606083156128c557508161272f565b8251156128d55782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561291f578181015183820152602001612907565b50505050905090810190601f16801561294c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080518082019091526000808252602082015290565b60008083601f840112612982578182fd5b50813567ffffffffffffffff811115612999578182fd5b6020830191508360206040830285010111156129b457600080fd5b9250929050565b8035801515811461124257600080fd5b60008083601f8401126129dc578182fd5b50813567ffffffffffffffff8111156129f3578182fd5b6020830191508360208285010111156129b457600080fd5b803561ffff8116811461124257600080fd5b600060208284031215612a2e578081fd5b813561257881613353565b60008060408385031215612a4b578081fd5b8235612a5681613353565b946020939093013593505050565b60008060408385031215612a76578182fd5b8235612a8181613353565b91506020830135612a9181613353565b809150509250929050565b600080600060608486031215612ab0578081fd5b8335612abb81613353565b92506020840135612acb81613353565b929592945050506040919091013590565b60008060408385031215612aee578182fd5b8235612af981613353565b9150612b07602084016129bb565b90509250929050565b60008060208385031215612b22578182fd5b823567ffffffffffffffff811115612b38578283fd5b612b4485828601612971565b90969095509350505050565b600060208284031215612b61578081fd5b61272f826129bb565b600060608284031215612b7b578081fd5b6040516060810181811067ffffffffffffffff82111715612b9857fe5b6040528251612ba681613368565b81526020830151612bb681613386565b6020820152604083015163ffffffff81168114612bd1578283fd5b60408201529392505050565b600060208284031215612bee578081fd5b813561257881613368565b600060208284031215612c0a578081fd5b61272f82612a0b565b600080600080600080600060c0888a031215612c2d578485fd5b612c3688612a0b565b96506020880135612c4681613353565b955060408801359450606088013593506080880135925060a088013567ffffffffffffffff811115612c76578283fd5b612c828a828b016129cb565b989b979a50959850939692959293505050565b60008060008060008060008060e0898b031215612cb0578182fd5b612cb989612a0b565b97506020890135612cc981613353565b965060408901359550606089013594506080890135935060a089013567ffffffffffffffff811115612cf9578283fd5b612d058b828c016129cb565b90945092505060c0890135612d1981613353565b809150509295985092959890939650565b600080600060608486031215612d3e578081fd5b612d4784612a0b565b92506020840135612d5781613368565b91506040840135612d6781613368565b809150509250925092565b60008060408385031215612d84578182fd5b612d8d83612a0b565b9150612b0760208401612a0b565b60008060008060008060a08789031215612db3578384fd5b612dbc87612a0b565b9550612dca60208801612a0b565b94506040870135612dda81613353565b935060608701359250608087013567ffffffffffffffff811115612dfc578283fd5b612e0889828a016129cb565b979a9699509497509295939492505050565b600080600080600060a08688031215612e31578283fd5b612e3a86612a0b565b9450612e4860208701612a0b565b93506040860135612e5881613368565b92506060860135612e6881613386565b91506080860135612e7881613386565b809150509295509295909350565b600060208284031215612e97578081fd5b5051919050565b60008060008060808587031215612eb3578182fd5b845193506020850151612ec581613368565b6040860151909350612ed681613368565b6060860151909250612ee781613368565b939692955090935050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039290921682521515602082015260400190565b901515815260200190565b60208082526015908201527f52656c617965723a206e6f7420617070726f7665640000000000000000000000604082015260600190565b6020808252818101527f52656c617965723a205f7061796c6f616453697a6520746f6f6f6f6f20626967604082015260600190565b60208082526026908201527f52656c617965723a2077726f6e67205f61646170746572506172616d6574657260408201527f732073697a650000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52656c617965723a20756e737570706f72746564207478547970650000000000604082015260600190565b60208082526014908201527f52656c617965723a206e6f742075706461746572000000000000000000000000604082015260600190565b60208082526026908201527f52656c617965723a206e6f7420656e6f7567682066656520666f72207769746860408201527f64726177616c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f52656c617965723a20696e76616c696420756c6e000000000000000000000000604082015260600190565b6020808252600d908201527f41646d696e3a2070617573656400000000000000000000000000000000000000604082015260600190565b60208082526014908201527f52656c617965723a2067617320746f6f206c6f77000000000000000000000000604082015260600190565b6020808252601f908201527f52656c617965723a206473744e6174697665416d7420746f6f206c6172676500604082015260600190565b81516fffffffffffffffffffffffffffffffff9081168252602092830151169181019190915260400190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6fffffffffffffffffffffffffffffffff93909316835267ffffffffffffffff918216602084015216604082015260600190565b61ffff91909116815260200190565b600061ffff891682526001600160a01b038816602083015286604083015285606083015284608083015260c060a08301528260c0830152828460e084013781830160e090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01601019695505050505050565b61ffff95861681529390941660208401526fffffffffffffffffffffffffffffffff91909116604083015267ffffffffffffffff9081166060830152909116608082015260a00190565b61ffff9390931683526020830191909152604082015260600190565b90815260200190565b6001600160a01b0381168114611f9b57600080fd5b6fffffffffffffffffffffffffffffffff81168114611f9b57600080fd5b67ffffffffffffffff81168114611f9b57600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212206e049973a8018635560d2ae382431ef5a97c93af9d3bf02df9291cb611b14d8064736f6c63430007060033",
943
956
  "devdoc": {
944
957
  "kind": "dev",
945
958
  "methods": {
@@ -1016,7 +1029,7 @@
1016
1029
  "label": "uln",
1017
1030
  "offset": 0,
1018
1031
  "slot": "102",
1019
- "type": "t_contract(ILayerZeroUltraLightNodeV2)17119"
1032
+ "type": "t_contract(ILayerZeroUltraLightNodeV2)17184"
1020
1033
  },
1021
1034
  {
1022
1035
  "astId": 6046,
@@ -1027,23 +1040,23 @@
1027
1040
  "type": "t_address"
1028
1041
  },
1029
1042
  {
1030
- "astId": 6072,
1043
+ "astId": 6075,
1031
1044
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1032
1045
  "label": "dstPriceLookupOld",
1033
1046
  "offset": 0,
1034
1047
  "slot": "104",
1035
- "type": "t_mapping(t_uint16,t_struct(DstPrice)6051_storage)"
1048
+ "type": "t_mapping(t_uint16,t_struct(DstPrice)6054_storage)"
1036
1049
  },
1037
1050
  {
1038
- "astId": 6078,
1051
+ "astId": 6081,
1039
1052
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1040
1053
  "label": "dstConfigLookup",
1041
1054
  "offset": 0,
1042
1055
  "slot": "105",
1043
- "type": "t_mapping(t_uint16,t_mapping(t_uint16,t_struct(DstConfig)6058_storage))"
1056
+ "type": "t_mapping(t_uint16,t_mapping(t_uint16,t_struct(DstConfig)6061_storage))"
1044
1057
  },
1045
1058
  {
1046
- "astId": 6082,
1059
+ "astId": 6085,
1047
1060
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1048
1061
  "label": "approvedAddresses",
1049
1062
  "offset": 0,
@@ -1051,7 +1064,7 @@
1051
1064
  "type": "t_mapping(t_address,t_bool)"
1052
1065
  },
1053
1066
  {
1054
- "astId": 6132,
1067
+ "astId": 6135,
1055
1068
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1056
1069
  "label": "paused",
1057
1070
  "offset": 0,
@@ -1059,15 +1072,15 @@
1059
1072
  "type": "t_bool"
1060
1073
  },
1061
1074
  {
1062
- "astId": 6134,
1075
+ "astId": 6137,
1063
1076
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1064
1077
  "label": "priceFeed",
1065
1078
  "offset": 1,
1066
1079
  "slot": "107",
1067
- "type": "t_contract(ILayerZeroPriceFeed)16727"
1080
+ "type": "t_contract(ILayerZeroPriceFeedV2)16792"
1068
1081
  },
1069
1082
  {
1070
- "astId": 6136,
1083
+ "astId": 6139,
1071
1084
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1072
1085
  "label": "multiplierBps",
1073
1086
  "offset": 0,
@@ -1075,7 +1088,7 @@
1075
1088
  "type": "t_uint128"
1076
1089
  },
1077
1090
  {
1078
- "astId": 6138,
1091
+ "astId": 6141,
1079
1092
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1080
1093
  "label": "validateProofBytes",
1081
1094
  "offset": 16,
@@ -1083,7 +1096,7 @@
1083
1096
  "type": "t_uint16"
1084
1097
  },
1085
1098
  {
1086
- "astId": 6140,
1099
+ "astId": 6143,
1087
1100
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1088
1101
  "label": "fpBytes",
1089
1102
  "offset": 18,
@@ -1091,7 +1104,7 @@
1091
1104
  "type": "t_uint16"
1092
1105
  },
1093
1106
  {
1094
- "astId": 6142,
1107
+ "astId": 6145,
1095
1108
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1096
1109
  "label": "mptOverhead",
1097
1110
  "offset": 20,
@@ -1099,7 +1112,7 @@
1099
1112
  "type": "t_uint16"
1100
1113
  },
1101
1114
  {
1102
- "astId": 6146,
1115
+ "astId": 6149,
1103
1116
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1104
1117
  "label": "dstMultipliers",
1105
1118
  "offset": 0,
@@ -1107,7 +1120,7 @@
1107
1120
  "type": "t_mapping(t_uint16,t_uint128)"
1108
1121
  },
1109
1122
  {
1110
- "astId": 6150,
1123
+ "astId": 6153,
1111
1124
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1112
1125
  "label": "dstFloorMarginsUSD",
1113
1126
  "offset": 0,
@@ -1115,7 +1128,7 @@
1115
1128
  "type": "t_mapping(t_uint16,t_uint128)"
1116
1129
  },
1117
1130
  {
1118
- "astId": 6154,
1131
+ "astId": 6157,
1119
1132
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1120
1133
  "label": "priceConfigUpdaters",
1121
1134
  "offset": 0,
@@ -1146,12 +1159,12 @@
1146
1159
  "label": "bool",
1147
1160
  "numberOfBytes": "1"
1148
1161
  },
1149
- "t_contract(ILayerZeroPriceFeed)16727": {
1162
+ "t_contract(ILayerZeroPriceFeedV2)16792": {
1150
1163
  "encoding": "inplace",
1151
- "label": "contract ILayerZeroPriceFeed",
1164
+ "label": "contract ILayerZeroPriceFeedV2",
1152
1165
  "numberOfBytes": "20"
1153
1166
  },
1154
- "t_contract(ILayerZeroUltraLightNodeV2)17119": {
1167
+ "t_contract(ILayerZeroUltraLightNodeV2)17184": {
1155
1168
  "encoding": "inplace",
1156
1169
  "label": "contract ILayerZeroUltraLightNodeV2",
1157
1170
  "numberOfBytes": "20"
@@ -1163,26 +1176,26 @@
1163
1176
  "numberOfBytes": "32",
1164
1177
  "value": "t_bool"
1165
1178
  },
1166
- "t_mapping(t_uint16,t_mapping(t_uint16,t_struct(DstConfig)6058_storage))": {
1179
+ "t_mapping(t_uint16,t_mapping(t_uint16,t_struct(DstConfig)6061_storage))": {
1167
1180
  "encoding": "mapping",
1168
1181
  "key": "t_uint16",
1169
1182
  "label": "mapping(uint16 => mapping(uint16 => struct RelayerV2.DstConfig))",
1170
1183
  "numberOfBytes": "32",
1171
- "value": "t_mapping(t_uint16,t_struct(DstConfig)6058_storage)"
1184
+ "value": "t_mapping(t_uint16,t_struct(DstConfig)6061_storage)"
1172
1185
  },
1173
- "t_mapping(t_uint16,t_struct(DstConfig)6058_storage)": {
1186
+ "t_mapping(t_uint16,t_struct(DstConfig)6061_storage)": {
1174
1187
  "encoding": "mapping",
1175
1188
  "key": "t_uint16",
1176
1189
  "label": "mapping(uint16 => struct RelayerV2.DstConfig)",
1177
1190
  "numberOfBytes": "32",
1178
- "value": "t_struct(DstConfig)6058_storage"
1191
+ "value": "t_struct(DstConfig)6061_storage"
1179
1192
  },
1180
- "t_mapping(t_uint16,t_struct(DstPrice)6051_storage)": {
1193
+ "t_mapping(t_uint16,t_struct(DstPrice)6054_storage)": {
1181
1194
  "encoding": "mapping",
1182
1195
  "key": "t_uint16",
1183
1196
  "label": "mapping(uint16 => struct RelayerV2.DstPrice)",
1184
1197
  "numberOfBytes": "32",
1185
- "value": "t_struct(DstPrice)6051_storage"
1198
+ "value": "t_struct(DstPrice)6054_storage"
1186
1199
  },
1187
1200
  "t_mapping(t_uint16,t_uint128)": {
1188
1201
  "encoding": "mapping",
@@ -1191,12 +1204,12 @@
1191
1204
  "numberOfBytes": "32",
1192
1205
  "value": "t_uint128"
1193
1206
  },
1194
- "t_struct(DstConfig)6058_storage": {
1207
+ "t_struct(DstConfig)6061_storage": {
1195
1208
  "encoding": "inplace",
1196
1209
  "label": "struct RelayerV2.DstConfig",
1197
1210
  "members": [
1198
1211
  {
1199
- "astId": 6053,
1212
+ "astId": 6056,
1200
1213
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1201
1214
  "label": "dstNativeAmtCap",
1202
1215
  "offset": 0,
@@ -1204,7 +1217,7 @@
1204
1217
  "type": "t_uint128"
1205
1218
  },
1206
1219
  {
1207
- "astId": 6055,
1220
+ "astId": 6058,
1208
1221
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1209
1222
  "label": "baseGas",
1210
1223
  "offset": 16,
@@ -1212,7 +1225,7 @@
1212
1225
  "type": "t_uint64"
1213
1226
  },
1214
1227
  {
1215
- "astId": 6057,
1228
+ "astId": 6060,
1216
1229
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1217
1230
  "label": "gasPerByte",
1218
1231
  "offset": 24,
@@ -1222,12 +1235,12 @@
1222
1235
  ],
1223
1236
  "numberOfBytes": "32"
1224
1237
  },
1225
- "t_struct(DstPrice)6051_storage": {
1238
+ "t_struct(DstPrice)6054_storage": {
1226
1239
  "encoding": "inplace",
1227
1240
  "label": "struct RelayerV2.DstPrice",
1228
1241
  "members": [
1229
1242
  {
1230
- "astId": 6048,
1243
+ "astId": 6051,
1231
1244
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1232
1245
  "label": "dstPriceRatio",
1233
1246
  "offset": 0,
@@ -1235,7 +1248,7 @@
1235
1248
  "type": "t_uint128"
1236
1249
  },
1237
1250
  {
1238
- "astId": 6050,
1251
+ "astId": 6053,
1239
1252
  "contract": "contracts/RelayerV2.sol:RelayerV2",
1240
1253
  "label": "dstGasPriceInWei",
1241
1254
  "offset": 16,