Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy balanceHelpers on Base Sepolia #143

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions DEPLOYMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
| `BalancesHelper` | `etherspot` | 0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b | 0xac7270105c381ce52e137b815727c88f9f03a0005afa776154de199de41c1d33 |
| `BalancesHelper` | `flare` | [0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b](https://flare-explorer.flare.network//address/0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b) | [0x8c0166b58edafdc5c7c687e1305934c37b707bac8a2b9a8358a665b848727525](https://flare-explorer.flare.network//tx/0x8c0166b58edafdc5c7c687e1305934c37b707bac8a2b9a8358a665b848727525) |
| `BalancesHelper` | `scroll` | [0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b](https://scrollscan.com//address/0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b) | [0xeef293311c98b19b9a5f1995cb6a9e593482af569166fb981ffde343f7943cf8](https://scrollscan.com//tx/0xeef293311c98b19b9a5f1995cb6a9e593482af569166fb981ffde343f7943cf8) |
| `BalancesHelper` | `baseSepolia` | [0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b](https://sepolia.basescan.org//address/0xa6C165E3539A2bE6d55e2935EC9979D8C850A21b) | [0x0734f8aaa0fd220d70bdf15efc87ef7242804056fe6200497ca823ff842f49ed](https://sepolia.basescan.org//tx/0x0734f8aaa0fd220d70bdf15efc87ef7242804056fe6200497ca823ff842f49ed) |
| `BalancesHelperV2` | `mainnet` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://etherscan.io/address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0xf6ea0fa211f992a6b409e3d9808abe1c3c6d9d3136969a5ee403ed9b26c9741f](https://etherscan.io/tx/0xf6ea0fa211f992a6b409e3d9808abe1c3c6d9d3136969a5ee403ed9b26c9741f) |
| `BalancesHelperV2` | `ropsten` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://ropsten.etherscan.io/address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0x85a9b1e970b917b4af56111429d9424409e0527fec62079e6451a94de7a5c737](https://ropsten.etherscan.io/tx/0x85a9b1e970b917b4af56111429d9424409e0527fec62079e6451a94de7a5c737) |
| `BalancesHelperV2` | `goerli` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://goerli.etherscan.io/address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0x730049031e4acf1595d7c01d6184b9fb1c6a2855753cd4b765f856a0da9fa6eb](https://goerli.etherscan.io/tx/0x730049031e4acf1595d7c01d6184b9fb1c6a2855753cd4b765f856a0da9fa6eb) |
Expand Down Expand Up @@ -80,6 +81,7 @@
| `BalancesHelperV2` | `coston2` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://coston2-explorer.flare.network//address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0x6d8393ad5205c197341a76770bb9b30c58b600daa00ec01e4de842ee4abcf8d9](https://coston2-explorer.flare.network//tx/0x6d8393ad5205c197341a76770bb9b30c58b600daa00ec01e4de842ee4abcf8d9) |
| `BalancesHelperV2` | `flare` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://flare-explorer.flare.network//address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0x6bf32f01e5704f7e7ae84f825a58151aa66de4cc4ba62bd4a7df7962979db0fd](https://flare-explorer.flare.network//tx/0x6bf32f01e5704f7e7ae84f825a58151aa66de4cc4ba62bd4a7df7962979db0fd) |
| `BalancesHelperV2` | `scroll` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://scrollscan.com//address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0x04238b9feb0412107cd9001648130862e94210456fe9c183e5acbe19ce619add](https://scrollscan.com//tx/0x04238b9feb0412107cd9001648130862e94210456fe9c183e5acbe19ce619add) |
| `BalancesHelperV2` | `baseSepolia` | [0xe5A160F89f330cc933816E896a3F36376DE0a835](https://sepolia.basescan.org//address/0xe5A160F89f330cc933816E896a3F36376DE0a835) | [0xc6117eacd2a7f5fc7c12bc9509f0b0c4f9c2c288703c13194e004739ede1eed6](https://sepolia.basescan.org//tx/0xc6117eacd2a7f5fc7c12bc9509f0b0c4f9c2c288703c13194e004739ede1eed6) |
| `CBridgeFacet` | `goerli` | [0x9d70f5253949Eb67850C3f1e7371f15b955ee073](https://goerli.etherscan.io/address/0x9d70f5253949Eb67850C3f1e7371f15b955ee073) | [0x047d8e991a3dc6bac32e2ef5d08078ecbf10abe3f32c20a7d87b32a2647a2390](https://goerli.etherscan.io/tx/0x047d8e991a3dc6bac32e2ef5d08078ecbf10abe3f32c20a7d87b32a2647a2390) |
| `CBridgeFacet` | `kovan` | [0x9d70f5253949Eb67850C3f1e7371f15b955ee073](https://kovan.etherscan.io/address/0x9d70f5253949Eb67850C3f1e7371f15b955ee073) | [0xf21e1a247dd0a72b5b59ec4556972b6fde6ba038adc000797f643fe71bf93855](https://kovan.etherscan.io/tx/0xf21e1a247dd0a72b5b59ec4556972b6fde6ba038adc000797f643fe71bf93855) |
| `CBridgeFacet` | `bscTest` | [0x9d70f5253949Eb67850C3f1e7371f15b955ee073](https://testnet.bscscan.com/address/0x9d70f5253949Eb67850C3f1e7371f15b955ee073) | [0xd72b937134f4fc4d6168bf1dbbe495971df40e540d83e2293e333ca9c5a9567d](https://testnet.bscscan.com/tx/0xd72b937134f4fc4d6168bf1dbbe495971df40e540d83e2293e333ca9c5a9567d) |
Expand Down
1 change: 1 addition & 0 deletions deployments/baseSepolia/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
84532
81 changes: 81 additions & 0 deletions deployments/baseSepolia/BalancesHelper.json

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions deployments/baseSepolia/BalancesHelperV2.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

62 changes: 58 additions & 4 deletions dist/config/connext.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,68 @@
export declare const ConnextConfig: {
rinkeby: {
mainnet: {
domainId: number;
handler: string;
connext: string;
unwrapper: string;
weth: string;
};
optimism: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
matic: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
arbitrum: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
bsc: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
xdai: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
goerli: {
domainId: number;
handler: string;
connext: string;
unwrapper: string;
weth: string;
};
optimismGoerli: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
mumbai: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
arbitrumNitro: {
domainId: number;
connext: string;
unwrapper: string;
weth: string;
};
hardhat: {
domainId: number;
handler: string;
connext: string;
unwrapper: string;
weth: string;
};
};
70 changes: 62 additions & 8 deletions dist/config/connext.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,70 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.ConnextConfig = void 0;
const constants_1 = require("../extensions/constants");
exports.ConnextConfig = {
[constants_1.NetworkNames.Rinkeby]: {
domainId: 1111,
handler: "0x4cAA6358a3d9d1906B5DABDE60A626AAfD80186F",
[constants_1.NetworkNames.Mainnet]: {
domainId: 6648936,
connext: "0x8898B472C54c31894e3B9bb83cEA802a5d0e63C6",
unwrapper: "0x268682b7D9992aE7e2ca4A8bCc9D9655FB06056F",
weth: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
},
[constants_1.NetworkNames.Optimism]: {
domainId: 1869640809,
connext: "0x8f7492DE823025b4CfaAB1D34c58963F2af5DEDA",
unwrapper: "0x7Fe09d217d646a6213e51b237670Bc326188cB93",
weth: "0x4200000000000000000000000000000000000006",
},
[constants_1.NetworkNames.Matic]: {
domainId: 1886350457,
connext: "0x11984dc4465481512eb5b777E44061C158CF2259",
unwrapper: "0x7E8F8B2dA3dc5Ad9c9Dfd1A832331A039d4f3f74",
weth: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
},
[constants_1.NetworkNames.Arbitrum]: {
domainId: 1634886255,
connext: "0xEE9deC2712cCE65174B561151701Bf54b99C24C8",
unwrapper: "0x429b9eb01362b2799131EfCC44319689b662999D",
weth: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
},
[constants_1.NetworkNames.Bsc]: {
domainId: 6450786,
connext: "0xCd401c10afa37d641d2F594852DA94C700e4F2CE",
unwrapper: "0x2c7B8c1a13F2a7854B9299E4d22809A8B1E05De5",
weth: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8",
},
[constants_1.NetworkNames.Xdai]: {
domainId: 6778479,
connext: "0x5bB83e95f63217CDa6aE3D181BA580Ef377D2109",
unwrapper: "0x642c27a96dFFB6f21443A89b789a3194Ff8399fa",
weth: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
},
[constants_1.NetworkNames.Goerli]: {
domainId: 3331,
handler: "0x6c9a905Ab3f4495E2b47f5cA131ab71281E0546e",
domainId: 1735353714,
connext: "0xFCa08024A6D4bCc87275b1E4A1E22B71fAD7f649",
unwrapper: "0xa6633d369A9C4C8A442ef104E8e293DA7b352Acd",
weth: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
},
[constants_1.NetworkNames.OptimismGoerli]: {
domainId: 1735356532,
connext: "0x5Ea1bb242326044699C3d81341c5f535d5Af1504",
unwrapper: "0x08bDeFD0e4878A814Cb2fd11C033F3947251689f",
weth: "0x74c6FD7D2Bc6a8F0Ebd7D78321A95471b8C2B806",
},
[constants_1.NetworkNames.Mumbai]: {
domainId: 9991,
connext: "0x2334937846Ab2A3FCE747b32587e1A1A2f6EEC5a",
unwrapper: "0x1e0Db00EB08ceC7FFdA03c0Dbf224193E1563844",
weth: "0xFD2AB41e083c75085807c4A65C0A14FDD93d55A9",
},
[constants_1.NetworkNames.ArbitrumNitro]: {
domainId: 1734439522,
connext: "0x2075c9E31f973bb53CAE5BAC36a8eeB4B082ADC2",
unwrapper: "0x18BBF96BC8014aA93cbf1A5Bce005a485b5C2C4a",
weth: "0x1346786E6A5e07b90184a1Ba58E55444b99DC4A2",
},
'hardhat': {
domainId: 3331,
handler: "0x6c9a905Ab3f4495E2b47f5cA131ab71281E0546e",
hardhat: {
domainId: 1735353714,
connext: "0xFCa08024A6D4bCc87275b1E4A1E22B71fAD7f649",
unwrapper: "0xa6633d369A9C4C8A442ef104E8e293DA7b352Acd",
weth: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
},
};
51 changes: 2 additions & 49 deletions dist/constants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@ export declare enum ContractNames {
AccountImplementationV1 = 'AccountImplementationV1',
AccountRegistry = 'AccountRegistry',
Address = 'Address',
AddressUpgradeable = 'AddressUpgradeable',
AmplificationUtils = 'AmplificationUtils',
BalancesHelper = 'BalancesHelper',
BalancesHelperV2 = 'BalancesHelperV2',
CBridgeFacet = 'CBridgeFacet',
ConnextFacet = 'ConnextFacet',
ConnextMessage = 'ConnextMessage',
Context = 'Context',
ContextUpgradeable = 'ContextUpgradeable',
Controlled = 'Controlled',
Diamond = 'Diamond',
DiamondCutFacet = 'DiamondCutFacet',
DiamondLoupeFacet = 'DiamondLoupeFacet',
ECDSA = 'ECDSA',
ENSAbstractResolver = 'ENSAbstractResolver',
ENSAddressResolver = 'ENSAddressResolver',
ENSController = 'ENSController',
Expand All @@ -28,78 +22,37 @@ export declare enum ContractNames {
ENSRegistry = 'ENSRegistry',
ENSReverseRegistrar = 'ENSReverseRegistrar',
ENSTextResolver = 'ENSTextResolver',
ERC20BurnableUpgradeable = 'ERC20BurnableUpgradeable',
ERC20Token = 'ERC20Token',
ERC20Upgradeable = 'ERC20Upgradeable',
ExternalAccountRegistry = 'ExternalAccountRegistry',
Gateway = 'Gateway',
GatewayRecipient = 'GatewayRecipient',
GatewayV2 = 'GatewayV2',
Guarded = 'Guarded',
Home = 'Home',
HopFacet = 'HopFacet',
IBridgeToken = 'IBridgeToken',
ICBridge = 'ICBridge',
ICallback = 'ICallback',
IConnextHandler = 'IConnextHandler',
IConnext = 'IConnext',
IDiamondCut = 'IDiamondCut',
IDiamondLoupe = 'IDiamondLoupe',
IERC165 = 'IERC165',
IERC173 = 'IERC173',
IERC20 = 'IERC20',
IERC20MetadataUpgradeable = 'IERC20MetadataUpgradeable',
IERC20Upgradeable = 'IERC20Upgradeable',
IExecutor = 'IExecutor',
IHopBridge = 'IHopBridge',
IMessageRecipient = 'IMessageRecipient',
IProposedOwnable = 'IProposedOwnable',
ISponsorVault = 'ISponsorVault',
IStableSwap = 'IStableSwap',
IStargateReceiver = 'IStargateReceiver',
IStargateRouter = 'IStargateRouter',
ISuperAgreement = 'ISuperAgreement',
ISuperfluidToken = 'ISuperfluidToken',
ITokenRegistry = 'ITokenRegistry',
IUpdaterManager = 'IUpdaterManager',
IWrapped = 'IWrapped',
IWETH = 'IWETH',
Initializable = 'Initializable',
LPToken = 'LPToken',
LibAsset = 'LibAsset',
LibConnextStorage = 'LibConnextStorage',
LibDiamond = 'LibDiamond',
MathUtils = 'MathUtils',
MerkleTreeManager = 'MerkleTreeManager',
Message = 'Message',
NomadBase = 'NomadBase',
Ownable = 'Ownable',
OwnableUpgradeable = 'OwnableUpgradeable',
OwnershipFacet = 'OwnershipFacet',
PaymentDepositAccount = 'PaymentDepositAccount',
PaymentRegistry = 'PaymentRegistry',
PersonalAccountImplementationV1 = 'PersonalAccountImplementationV1',
PersonalAccountRegistry = 'PersonalAccountRegistry',
PromiseMessage = 'PromiseMessage',
PromiseRouter = 'PromiseRouter',
ProposedOwnable = 'ProposedOwnable',
ProposedOwnableUpgradeable = 'ProposedOwnableUpgradeable',
QueueManager = 'QueueManager',
ReentrancyGuard = 'ReentrancyGuard',
ReentrancyGuardUpgradeable = 'ReentrancyGuardUpgradeable',
RelayerFeeMessage = 'RelayerFeeMessage',
RelayerFeeRouter = 'RelayerFeeRouter',
Replica = 'Replica',
Router = 'Router',
SafeERC20 = 'SafeERC20',
SafeMath = 'SafeMath',
SignatureValidator = 'SignatureValidator',
StargateFacet = 'StargateFacet',
Strings = 'Strings',
SwapUtils = 'SwapUtils',
TypeCasts = 'TypeCasts',
TypedMemView = 'TypedMemView',
Version = 'Version',
Version0 = 'Version0',
WrappedWeiToken = 'WrappedWeiToken',
XAppConnectionClient = 'XAppConnectionClient',
XAppConnectionManager = 'XAppConnectionManager',
}
51 changes: 2 additions & 49 deletions dist/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,14 @@ module.exports = {
AccountImplementationV1: 'AccountImplementationV1',
AccountRegistry: 'AccountRegistry',
Address: 'Address',
AddressUpgradeable: 'AddressUpgradeable',
AmplificationUtils: 'AmplificationUtils',
BalancesHelper: 'BalancesHelper',
BalancesHelperV2: 'BalancesHelperV2',
CBridgeFacet: 'CBridgeFacet',
ConnextFacet: 'ConnextFacet',
ConnextMessage: 'ConnextMessage',
Context: 'Context',
ContextUpgradeable: 'ContextUpgradeable',
Controlled: 'Controlled',
Diamond: 'Diamond',
DiamondCutFacet: 'DiamondCutFacet',
DiamondLoupeFacet: 'DiamondLoupeFacet',
ECDSA: 'ECDSA',
ENSAbstractResolver: 'ENSAbstractResolver',
ENSAddressResolver: 'ENSAddressResolver',
ENSController: 'ENSController',
Expand All @@ -31,79 +25,38 @@ module.exports = {
ENSRegistry: 'ENSRegistry',
ENSReverseRegistrar: 'ENSReverseRegistrar',
ENSTextResolver: 'ENSTextResolver',
ERC20BurnableUpgradeable: 'ERC20BurnableUpgradeable',
ERC20Token: 'ERC20Token',
ERC20Upgradeable: 'ERC20Upgradeable',
ExternalAccountRegistry: 'ExternalAccountRegistry',
Gateway: 'Gateway',
GatewayRecipient: 'GatewayRecipient',
GatewayV2: 'GatewayV2',
Guarded: 'Guarded',
Home: 'Home',
HopFacet: 'HopFacet',
IBridgeToken: 'IBridgeToken',
ICBridge: 'ICBridge',
ICallback: 'ICallback',
IConnextHandler: 'IConnextHandler',
IConnext: 'IConnext',
IDiamondCut: 'IDiamondCut',
IDiamondLoupe: 'IDiamondLoupe',
IERC165: 'IERC165',
IERC173: 'IERC173',
IERC20: 'IERC20',
IERC20MetadataUpgradeable: 'IERC20MetadataUpgradeable',
IERC20Upgradeable: 'IERC20Upgradeable',
IExecutor: 'IExecutor',
IHopBridge: 'IHopBridge',
IMessageRecipient: 'IMessageRecipient',
IProposedOwnable: 'IProposedOwnable',
ISponsorVault: 'ISponsorVault',
IStableSwap: 'IStableSwap',
IStargateReceiver: 'IStargateReceiver',
IStargateRouter: 'IStargateRouter',
ISuperAgreement: 'ISuperAgreement',
ISuperfluidToken: 'ISuperfluidToken',
ITokenRegistry: 'ITokenRegistry',
IUpdaterManager: 'IUpdaterManager',
IWrapped: 'IWrapped',
IWETH: 'IWETH',
Initializable: 'Initializable',
LPToken: 'LPToken',
LibAsset: 'LibAsset',
LibConnextStorage: 'LibConnextStorage',
LibDiamond: 'LibDiamond',
MathUtils: 'MathUtils',
MerkleTreeManager: 'MerkleTreeManager',
Message: 'Message',
NomadBase: 'NomadBase',
Ownable: 'Ownable',
OwnableUpgradeable: 'OwnableUpgradeable',
OwnershipFacet: 'OwnershipFacet',
PaymentDepositAccount: 'PaymentDepositAccount',
PaymentRegistry: 'PaymentRegistry',
PersonalAccountImplementationV1: 'PersonalAccountImplementationV1',
PersonalAccountRegistry: 'PersonalAccountRegistry',
PromiseMessage: 'PromiseMessage',
PromiseRouter: 'PromiseRouter',
ProposedOwnable: 'ProposedOwnable',
ProposedOwnableUpgradeable: 'ProposedOwnableUpgradeable',
QueueManager: 'QueueManager',
ReentrancyGuard: 'ReentrancyGuard',
ReentrancyGuardUpgradeable: 'ReentrancyGuardUpgradeable',
RelayerFeeMessage: 'RelayerFeeMessage',
RelayerFeeRouter: 'RelayerFeeRouter',
Replica: 'Replica',
Router: 'Router',
SafeERC20: 'SafeERC20',
SafeMath: 'SafeMath',
SignatureValidator: 'SignatureValidator',
StargateFacet: 'StargateFacet',
Strings: 'Strings',
SwapUtils: 'SwapUtils',
TypeCasts: 'TypeCasts',
TypedMemView: 'TypedMemView',
Version: 'Version',
Version0: 'Version0',
WrappedWeiToken: 'WrappedWeiToken',
XAppConnectionClient: 'XAppConnectionClient',
XAppConnectionManager: 'XAppConnectionManager',
},
};
Loading
Loading