viem 0.0.0-main.20240215T093315 → 0.0.0-main.20240216T002204
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.
- package/CHANGELOG.md +10 -0
- package/_cjs/chains/definitions/base.js +6 -0
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +5 -0
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +6 -0
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +5 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +5 -0
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +5 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +5 -0
- package/_cjs/chains/definitions/pgn.js.map +1 -1
- package/_cjs/chains/definitions/pgnTestnet.js +10 -0
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +5 -0
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +5 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/chains/opStack/abis.js +458 -1
- package/_cjs/chains/opStack/abis.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/base.js +6 -0
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +5 -0
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +6 -0
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +5 -0
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +5 -0
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +5 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +5 -0
- package/_esm/chains/definitions/pgn.js.map +1 -1
- package/_esm/chains/definitions/pgnTestnet.js +10 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +5 -0
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +5 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/opStack/abis.js +457 -0
- package/_esm/chains/opStack/abis.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/base.d.ts +6 -0
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +5 -0
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +6 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +5 -0
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +5 -0
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +5 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +5 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +10 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +5 -0
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +5 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +626 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/definitions/base.ts +6 -0
- package/chains/definitions/baseGoerli.ts +5 -0
- package/chains/definitions/baseSepolia.ts +6 -0
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/optimismGoerli.ts +5 -0
- package/chains/definitions/optimismSepolia.ts +5 -0
- package/chains/definitions/pgn.ts +5 -0
- package/chains/definitions/pgnTestnet.ts +10 -0
- package/chains/definitions/zora.ts +5 -0
- package/chains/definitions/zoraSepolia.ts +5 -0
- package/chains/opStack/abis.ts +458 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -34,6 +34,11 @@ export const optimism = /*#__PURE__*/ defineChain({
|
|
34
34
|
address: '0xbEb5Fc579115071764c7423A4f12eDde41f106Ed',
|
35
35
|
},
|
36
36
|
},
|
37
|
+
l1StandardBridge: {
|
38
|
+
[sourceId]: {
|
39
|
+
address: '0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1',
|
40
|
+
},
|
41
|
+
},
|
37
42
|
},
|
38
43
|
sourceId,
|
39
44
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,UAAU;AAE7B,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,WAAW,CAAC;IAChD,GAAG,WAAW;IACd,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,YAAY;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,iCAAiC;YACtC,MAAM,EAAE,qCAAqC;SAC9C;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,UAAU;AAE7B,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,WAAW,CAAC;IAChD,GAAG,WAAW;IACd,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,YAAY;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,iCAAiC;YACtC,MAAM,EAAE,qCAAqC;SAC9C;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
@@ -34,6 +34,11 @@ export const optimismGoerli = /*#__PURE__*/ defineChain({
|
|
34
34
|
address: '0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383',
|
35
35
|
},
|
36
36
|
},
|
37
|
+
l1StandardBridge: {
|
38
|
+
[sourceId]: {
|
39
|
+
address: '0x636Af16bf2f682dD3109e60102b8E1A089FedAa8',
|
40
|
+
},
|
41
|
+
},
|
37
42
|
},
|
38
43
|
testnet: true,
|
39
44
|
sourceId,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimismGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/optimismGoerli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,SAAS;AAE5B,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,WAAW,CAAC;IACtD,GAAG,WAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,GAAG,EAAE,sCAAsC;YAC3C,MAAM,EAAE,0CAA0C;SACnD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"optimismGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/optimismGoerli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,SAAS;AAE5B,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,WAAW,CAAC;IACtD,GAAG,WAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,GAAG,EAAE,sCAAsC;YAC3C,MAAM,EAAE,0CAA0C;SACnD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
@@ -34,6 +34,11 @@ export const optimismSepolia = /*#__PURE__*/ defineChain({
|
|
34
34
|
address: '0x16Fc5058F25648194471939df75CF27A2fdC48BC',
|
35
35
|
},
|
36
36
|
},
|
37
|
+
l1StandardBridge: {
|
38
|
+
[sourceId]: {
|
39
|
+
address: '0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1',
|
40
|
+
},
|
41
|
+
},
|
37
42
|
},
|
38
43
|
testnet: true,
|
39
44
|
sourceId,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimismSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/optimismSepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;IACvD,GAAG,WAAW;IACd,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,YAAY;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,yCAAyC;YAC9C,MAAM,EAAE,6CAA6C;SACtD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"optimismSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/optimismSepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;IACvD,GAAG,WAAW;IACd,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,YAAY;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,yCAAyC;YAC9C,MAAM,EAAE,6CAA6C;SACtD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
@@ -38,6 +38,11 @@ export const pgn = /*#__PURE__*/ defineChain({
|
|
38
38
|
address: '0xb26Fd985c5959bBB382BAFdD0b879E149e48116c',
|
39
39
|
},
|
40
40
|
},
|
41
|
+
l1StandardBridge: {
|
42
|
+
[sourceId]: {
|
43
|
+
address: '0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b',
|
44
|
+
},
|
45
|
+
},
|
41
46
|
},
|
42
47
|
formatters,
|
43
48
|
sourceId,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pgn.js","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,UAAU;AAE7B,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,CAAC;IAC3C,EAAE,EAAE,GAAG;IACP,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,KAAK;IACX,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,cAAc;YACpB,GAAG,EAAE,sCAAsC;YAC3C,MAAM,EAAE,0CAA0C;SACnD;QACD,SAAS,EAAE;YACT,IAAI,EAAE,cAAc;YACpB,GAAG,EAAE,sCAAsC;YAC3C,MAAM,EAAE,0CAA0C;SACnD;KACF;IACD,SAAS,EAAE;QACT,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,UAAU;IACV,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"pgn.js","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,UAAU;AAE7B,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,CAAC;IAC3C,EAAE,EAAE,GAAG;IACP,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,KAAK;IACX,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,cAAc;YACpB,GAAG,EAAE,sCAAsC;YAC3C,MAAM,EAAE,0CAA0C;SACnD;QACD,SAAS,EAAE;YACT,IAAI,EAAE,cAAc;YACpB,GAAG,EAAE,sCAAsC;YAC3C,MAAM,EAAE,0CAA0C;SACnD;KACF;IACD,SAAS,EAAE;QACT,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,UAAU;IACV,QAAQ;CACT,CAAC,CAAA"}
|
@@ -29,6 +29,16 @@ export const pgnTestnet = /*#__PURE__*/ defineChain({
|
|
29
29
|
address: '0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe',
|
30
30
|
},
|
31
31
|
},
|
32
|
+
portal: {
|
33
|
+
[sourceId]: {
|
34
|
+
address: '0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179',
|
35
|
+
},
|
36
|
+
},
|
37
|
+
l1StandardBridge: {
|
38
|
+
[sourceId]: {
|
39
|
+
address: '0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3',
|
40
|
+
},
|
41
|
+
},
|
32
42
|
multicall3: {
|
33
43
|
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
34
44
|
blockCreated: 3754925,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pgnTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,MAAM,QAAQ,GAAG,QAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC;IAClD,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,qCAAqC,CAAC;SAC9C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,8CAA8C;YACnD,MAAM,EAAE,kDAAkD;SAC3D;QACD,SAAS,EAAE;YACT,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,8CAA8C;YACnD,MAAM,EAAE,kDAAkD;SAC3D;KACF;IACD,SAAS,EAAE;QACT,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,UAAU;IACV,QAAQ;IACR,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"pgnTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,MAAM,QAAQ,GAAG,QAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC;IAClD,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,qCAAqC,CAAC;SAC9C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,8CAA8C;YACnD,MAAM,EAAE,kDAAkD;SAC3D;QACD,SAAS,EAAE;YACT,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,8CAA8C;YACnD,MAAM,EAAE,kDAAkD;SAC3D;KACF;IACD,SAAS,EAAE;QACT,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,UAAU;IACV,QAAQ;IACR,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -39,6 +39,11 @@ export const zora = /*#__PURE__*/ defineChain({
|
|
39
39
|
address: '0x1a0ad011913A150f69f6A19DF447A0CfD9551054',
|
40
40
|
},
|
41
41
|
},
|
42
|
+
l1StandardBridge: {
|
43
|
+
[sourceId]: {
|
44
|
+
address: '0x3e2Ea9B92B7E48A52296fD261dc26fd995284631',
|
45
|
+
},
|
46
|
+
},
|
42
47
|
},
|
43
48
|
sourceId,
|
44
49
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zora.js","sourceRoot":"","sources":["../../../chains/definitions/zora.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,UAAU;AAE7B,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,WAAW,CAAC;IAC5C,GAAG,WAAW;IACd,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yBAAyB,CAAC;YACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,8BAA8B;YACnC,MAAM,EAAE,kCAAkC;SAC3C;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"zora.js","sourceRoot":"","sources":["../../../chains/definitions/zora.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA,CAAC,UAAU;AAE7B,MAAM,CAAC,MAAM,IAAI,GAAG,aAAa,CAAC,WAAW,CAAC;IAC5C,GAAG,WAAW;IACd,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yBAAyB,CAAC;YACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,8BAA8B;YACnC,MAAM,EAAE,kCAAkC;SAC3C;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
@@ -40,6 +40,11 @@ export const zoraSepolia = /*#__PURE__*/ defineChain({
|
|
40
40
|
address: '0xeffE2C6cA9Ab797D418f0D91eA60807713f3536f',
|
41
41
|
},
|
42
42
|
},
|
43
|
+
l1StandardBridge: {
|
44
|
+
[sourceId]: {
|
45
|
+
address: '0x5376f1D543dcbB5BD416c56C189e4cB7399fCcCB',
|
46
|
+
},
|
47
|
+
},
|
43
48
|
},
|
44
49
|
sourceId,
|
45
50
|
testnet: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zoraSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/zoraSepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;IACnD,GAAG,WAAW;IACd,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;YACzC,SAAS,EAAE,CAAC,+BAA+B,CAAC;SAC7C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,uBAAuB;YAC7B,GAAG,EAAE,uCAAuC;YAC5C,MAAM,EAAE,0CAA0C;SACnD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;IACR,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"zoraSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/zoraSepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;IACnD,GAAG,WAAW;IACd,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;YACzC,SAAS,EAAE,CAAC,+BAA+B,CAAC;SAC7C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,uBAAuB;YAC7B,GAAG,EAAE,uCAAuC;YAC5C,MAAM,EAAE,0CAA0C;SACnD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;IACR,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -333,6 +333,463 @@ export const l2OutputOracleAbi = [
|
|
333
333
|
type: 'function',
|
334
334
|
},
|
335
335
|
];
|
336
|
+
export const l1StandardBridgeAbi = [
|
337
|
+
{ stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
|
338
|
+
{
|
339
|
+
type: 'event',
|
340
|
+
anonymous: false,
|
341
|
+
inputs: [
|
342
|
+
{
|
343
|
+
name: 'localToken',
|
344
|
+
internalType: 'address',
|
345
|
+
type: 'address',
|
346
|
+
indexed: true,
|
347
|
+
},
|
348
|
+
{
|
349
|
+
name: 'remoteToken',
|
350
|
+
internalType: 'address',
|
351
|
+
type: 'address',
|
352
|
+
indexed: true,
|
353
|
+
},
|
354
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
355
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
356
|
+
{
|
357
|
+
name: 'amount',
|
358
|
+
internalType: 'uint256',
|
359
|
+
type: 'uint256',
|
360
|
+
indexed: false,
|
361
|
+
},
|
362
|
+
{
|
363
|
+
name: 'extraData',
|
364
|
+
internalType: 'bytes',
|
365
|
+
type: 'bytes',
|
366
|
+
indexed: false,
|
367
|
+
},
|
368
|
+
],
|
369
|
+
name: 'ERC20BridgeFinalized',
|
370
|
+
},
|
371
|
+
{
|
372
|
+
type: 'event',
|
373
|
+
anonymous: false,
|
374
|
+
inputs: [
|
375
|
+
{
|
376
|
+
name: 'localToken',
|
377
|
+
internalType: 'address',
|
378
|
+
type: 'address',
|
379
|
+
indexed: true,
|
380
|
+
},
|
381
|
+
{
|
382
|
+
name: 'remoteToken',
|
383
|
+
internalType: 'address',
|
384
|
+
type: 'address',
|
385
|
+
indexed: true,
|
386
|
+
},
|
387
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
388
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
389
|
+
{
|
390
|
+
name: 'amount',
|
391
|
+
internalType: 'uint256',
|
392
|
+
type: 'uint256',
|
393
|
+
indexed: false,
|
394
|
+
},
|
395
|
+
{
|
396
|
+
name: 'extraData',
|
397
|
+
internalType: 'bytes',
|
398
|
+
type: 'bytes',
|
399
|
+
indexed: false,
|
400
|
+
},
|
401
|
+
],
|
402
|
+
name: 'ERC20BridgeInitiated',
|
403
|
+
},
|
404
|
+
{
|
405
|
+
type: 'event',
|
406
|
+
anonymous: false,
|
407
|
+
inputs: [
|
408
|
+
{
|
409
|
+
name: 'l1Token',
|
410
|
+
internalType: 'address',
|
411
|
+
type: 'address',
|
412
|
+
indexed: true,
|
413
|
+
},
|
414
|
+
{
|
415
|
+
name: 'l2Token',
|
416
|
+
internalType: 'address',
|
417
|
+
type: 'address',
|
418
|
+
indexed: true,
|
419
|
+
},
|
420
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
421
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
422
|
+
{
|
423
|
+
name: 'amount',
|
424
|
+
internalType: 'uint256',
|
425
|
+
type: 'uint256',
|
426
|
+
indexed: false,
|
427
|
+
},
|
428
|
+
{
|
429
|
+
name: 'extraData',
|
430
|
+
internalType: 'bytes',
|
431
|
+
type: 'bytes',
|
432
|
+
indexed: false,
|
433
|
+
},
|
434
|
+
],
|
435
|
+
name: 'ERC20DepositInitiated',
|
436
|
+
},
|
437
|
+
{
|
438
|
+
type: 'event',
|
439
|
+
anonymous: false,
|
440
|
+
inputs: [
|
441
|
+
{
|
442
|
+
name: 'l1Token',
|
443
|
+
internalType: 'address',
|
444
|
+
type: 'address',
|
445
|
+
indexed: true,
|
446
|
+
},
|
447
|
+
{
|
448
|
+
name: 'l2Token',
|
449
|
+
internalType: 'address',
|
450
|
+
type: 'address',
|
451
|
+
indexed: true,
|
452
|
+
},
|
453
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
454
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
455
|
+
{
|
456
|
+
name: 'amount',
|
457
|
+
internalType: 'uint256',
|
458
|
+
type: 'uint256',
|
459
|
+
indexed: false,
|
460
|
+
},
|
461
|
+
{
|
462
|
+
name: 'extraData',
|
463
|
+
internalType: 'bytes',
|
464
|
+
type: 'bytes',
|
465
|
+
indexed: false,
|
466
|
+
},
|
467
|
+
],
|
468
|
+
name: 'ERC20WithdrawalFinalized',
|
469
|
+
},
|
470
|
+
{
|
471
|
+
type: 'event',
|
472
|
+
anonymous: false,
|
473
|
+
inputs: [
|
474
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
475
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
476
|
+
{
|
477
|
+
name: 'amount',
|
478
|
+
internalType: 'uint256',
|
479
|
+
type: 'uint256',
|
480
|
+
indexed: false,
|
481
|
+
},
|
482
|
+
{
|
483
|
+
name: 'extraData',
|
484
|
+
internalType: 'bytes',
|
485
|
+
type: 'bytes',
|
486
|
+
indexed: false,
|
487
|
+
},
|
488
|
+
],
|
489
|
+
name: 'ETHBridgeFinalized',
|
490
|
+
},
|
491
|
+
{
|
492
|
+
type: 'event',
|
493
|
+
anonymous: false,
|
494
|
+
inputs: [
|
495
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
496
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
497
|
+
{
|
498
|
+
name: 'amount',
|
499
|
+
internalType: 'uint256',
|
500
|
+
type: 'uint256',
|
501
|
+
indexed: false,
|
502
|
+
},
|
503
|
+
{
|
504
|
+
name: 'extraData',
|
505
|
+
internalType: 'bytes',
|
506
|
+
type: 'bytes',
|
507
|
+
indexed: false,
|
508
|
+
},
|
509
|
+
],
|
510
|
+
name: 'ETHBridgeInitiated',
|
511
|
+
},
|
512
|
+
{
|
513
|
+
type: 'event',
|
514
|
+
anonymous: false,
|
515
|
+
inputs: [
|
516
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
517
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
518
|
+
{
|
519
|
+
name: 'amount',
|
520
|
+
internalType: 'uint256',
|
521
|
+
type: 'uint256',
|
522
|
+
indexed: false,
|
523
|
+
},
|
524
|
+
{
|
525
|
+
name: 'extraData',
|
526
|
+
internalType: 'bytes',
|
527
|
+
type: 'bytes',
|
528
|
+
indexed: false,
|
529
|
+
},
|
530
|
+
],
|
531
|
+
name: 'ETHDepositInitiated',
|
532
|
+
},
|
533
|
+
{
|
534
|
+
type: 'event',
|
535
|
+
anonymous: false,
|
536
|
+
inputs: [
|
537
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
538
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
539
|
+
{
|
540
|
+
name: 'amount',
|
541
|
+
internalType: 'uint256',
|
542
|
+
type: 'uint256',
|
543
|
+
indexed: false,
|
544
|
+
},
|
545
|
+
{
|
546
|
+
name: 'extraData',
|
547
|
+
internalType: 'bytes',
|
548
|
+
type: 'bytes',
|
549
|
+
indexed: false,
|
550
|
+
},
|
551
|
+
],
|
552
|
+
name: 'ETHWithdrawalFinalized',
|
553
|
+
},
|
554
|
+
{
|
555
|
+
type: 'event',
|
556
|
+
anonymous: false,
|
557
|
+
inputs: [
|
558
|
+
{ name: 'version', internalType: 'uint8', type: 'uint8', indexed: false },
|
559
|
+
],
|
560
|
+
name: 'Initialized',
|
561
|
+
},
|
562
|
+
{
|
563
|
+
stateMutability: 'view',
|
564
|
+
type: 'function',
|
565
|
+
inputs: [],
|
566
|
+
name: 'MESSENGER',
|
567
|
+
outputs: [
|
568
|
+
{
|
569
|
+
name: '',
|
570
|
+
internalType: 'contract CrossDomainMessenger',
|
571
|
+
type: 'address',
|
572
|
+
},
|
573
|
+
],
|
574
|
+
},
|
575
|
+
{
|
576
|
+
stateMutability: 'view',
|
577
|
+
type: 'function',
|
578
|
+
inputs: [],
|
579
|
+
name: 'OTHER_BRIDGE',
|
580
|
+
outputs: [
|
581
|
+
{ name: '', internalType: 'contract StandardBridge', type: 'address' },
|
582
|
+
],
|
583
|
+
},
|
584
|
+
{
|
585
|
+
stateMutability: 'nonpayable',
|
586
|
+
type: 'function',
|
587
|
+
inputs: [
|
588
|
+
{ name: '_localToken', internalType: 'address', type: 'address' },
|
589
|
+
{ name: '_remoteToken', internalType: 'address', type: 'address' },
|
590
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
591
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
592
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
593
|
+
],
|
594
|
+
name: 'bridgeERC20',
|
595
|
+
outputs: [],
|
596
|
+
},
|
597
|
+
{
|
598
|
+
stateMutability: 'nonpayable',
|
599
|
+
type: 'function',
|
600
|
+
inputs: [
|
601
|
+
{ name: '_localToken', internalType: 'address', type: 'address' },
|
602
|
+
{ name: '_remoteToken', internalType: 'address', type: 'address' },
|
603
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
604
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
605
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
606
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
607
|
+
],
|
608
|
+
name: 'bridgeERC20To',
|
609
|
+
outputs: [],
|
610
|
+
},
|
611
|
+
{
|
612
|
+
stateMutability: 'payable',
|
613
|
+
type: 'function',
|
614
|
+
inputs: [
|
615
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
616
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
617
|
+
],
|
618
|
+
name: 'bridgeETH',
|
619
|
+
outputs: [],
|
620
|
+
},
|
621
|
+
{
|
622
|
+
stateMutability: 'payable',
|
623
|
+
type: 'function',
|
624
|
+
inputs: [
|
625
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
626
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
627
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
628
|
+
],
|
629
|
+
name: 'bridgeETHTo',
|
630
|
+
outputs: [],
|
631
|
+
},
|
632
|
+
{
|
633
|
+
stateMutability: 'nonpayable',
|
634
|
+
type: 'function',
|
635
|
+
inputs: [
|
636
|
+
{ name: '_l1Token', internalType: 'address', type: 'address' },
|
637
|
+
{ name: '_l2Token', internalType: 'address', type: 'address' },
|
638
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
639
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
640
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
641
|
+
],
|
642
|
+
name: 'depositERC20',
|
643
|
+
outputs: [],
|
644
|
+
},
|
645
|
+
{
|
646
|
+
stateMutability: 'nonpayable',
|
647
|
+
type: 'function',
|
648
|
+
inputs: [
|
649
|
+
{ name: '_l1Token', internalType: 'address', type: 'address' },
|
650
|
+
{ name: '_l2Token', internalType: 'address', type: 'address' },
|
651
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
652
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
653
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
654
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
655
|
+
],
|
656
|
+
name: 'depositERC20To',
|
657
|
+
outputs: [],
|
658
|
+
},
|
659
|
+
{
|
660
|
+
stateMutability: 'payable',
|
661
|
+
type: 'function',
|
662
|
+
inputs: [
|
663
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
664
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
665
|
+
],
|
666
|
+
name: 'depositETH',
|
667
|
+
outputs: [],
|
668
|
+
},
|
669
|
+
{
|
670
|
+
stateMutability: 'payable',
|
671
|
+
type: 'function',
|
672
|
+
inputs: [
|
673
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
674
|
+
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
675
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
676
|
+
],
|
677
|
+
name: 'depositETHTo',
|
678
|
+
outputs: [],
|
679
|
+
},
|
680
|
+
{
|
681
|
+
stateMutability: 'view',
|
682
|
+
type: 'function',
|
683
|
+
inputs: [
|
684
|
+
{ name: '', internalType: 'address', type: 'address' },
|
685
|
+
{ name: '', internalType: 'address', type: 'address' },
|
686
|
+
],
|
687
|
+
name: 'deposits',
|
688
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
689
|
+
},
|
690
|
+
{
|
691
|
+
stateMutability: 'nonpayable',
|
692
|
+
type: 'function',
|
693
|
+
inputs: [
|
694
|
+
{ name: '_localToken', internalType: 'address', type: 'address' },
|
695
|
+
{ name: '_remoteToken', internalType: 'address', type: 'address' },
|
696
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
697
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
698
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
699
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
700
|
+
],
|
701
|
+
name: 'finalizeBridgeERC20',
|
702
|
+
outputs: [],
|
703
|
+
},
|
704
|
+
{
|
705
|
+
stateMutability: 'payable',
|
706
|
+
type: 'function',
|
707
|
+
inputs: [
|
708
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
709
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
710
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
711
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
712
|
+
],
|
713
|
+
name: 'finalizeBridgeETH',
|
714
|
+
outputs: [],
|
715
|
+
},
|
716
|
+
{
|
717
|
+
stateMutability: 'nonpayable',
|
718
|
+
type: 'function',
|
719
|
+
inputs: [
|
720
|
+
{ name: '_l1Token', internalType: 'address', type: 'address' },
|
721
|
+
{ name: '_l2Token', internalType: 'address', type: 'address' },
|
722
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
723
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
724
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
725
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
726
|
+
],
|
727
|
+
name: 'finalizeERC20Withdrawal',
|
728
|
+
outputs: [],
|
729
|
+
},
|
730
|
+
{
|
731
|
+
stateMutability: 'payable',
|
732
|
+
type: 'function',
|
733
|
+
inputs: [
|
734
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
735
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
736
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
737
|
+
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
738
|
+
],
|
739
|
+
name: 'finalizeETHWithdrawal',
|
740
|
+
outputs: [],
|
741
|
+
},
|
742
|
+
{
|
743
|
+
stateMutability: 'nonpayable',
|
744
|
+
type: 'function',
|
745
|
+
inputs: [
|
746
|
+
{
|
747
|
+
name: '_messenger',
|
748
|
+
internalType: 'contract CrossDomainMessenger',
|
749
|
+
type: 'address',
|
750
|
+
},
|
751
|
+
],
|
752
|
+
name: 'initialize',
|
753
|
+
outputs: [],
|
754
|
+
},
|
755
|
+
{
|
756
|
+
stateMutability: 'view',
|
757
|
+
type: 'function',
|
758
|
+
inputs: [],
|
759
|
+
name: 'l2TokenBridge',
|
760
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
761
|
+
},
|
762
|
+
{
|
763
|
+
stateMutability: 'view',
|
764
|
+
type: 'function',
|
765
|
+
inputs: [],
|
766
|
+
name: 'messenger',
|
767
|
+
outputs: [
|
768
|
+
{
|
769
|
+
name: '',
|
770
|
+
internalType: 'contract CrossDomainMessenger',
|
771
|
+
type: 'address',
|
772
|
+
},
|
773
|
+
],
|
774
|
+
},
|
775
|
+
{
|
776
|
+
stateMutability: 'view',
|
777
|
+
type: 'function',
|
778
|
+
inputs: [],
|
779
|
+
name: 'otherBridge',
|
780
|
+
outputs: [
|
781
|
+
{ name: '', internalType: 'contract StandardBridge', type: 'address' },
|
782
|
+
],
|
783
|
+
},
|
784
|
+
{
|
785
|
+
stateMutability: 'view',
|
786
|
+
type: 'function',
|
787
|
+
inputs: [],
|
788
|
+
name: 'version',
|
789
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
790
|
+
},
|
791
|
+
{ stateMutability: 'payable', type: 'receive' },
|
792
|
+
];
|
336
793
|
export const l2ToL1MessagePasserAbi = [
|
337
794
|
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
|
338
795
|
{
|