@openocean.finance/wallet 1.9.10 → 1.9.12
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/lib/Chains.js
CHANGED
|
@@ -187,7 +187,7 @@ var chainObj = {
|
|
|
187
187
|
"cronos": {
|
|
188
188
|
chainName: "Cronos Mainnet",
|
|
189
189
|
chainId: 25,
|
|
190
|
-
blockExplorerUrl: "https://cronos.org/explorer",
|
|
190
|
+
blockExplorerUrl: "https://cronos.org/explorer/tx/",
|
|
191
191
|
nativeCurrency: {
|
|
192
192
|
name: "CRO",
|
|
193
193
|
symbol: "CRO",
|
|
@@ -297,7 +297,7 @@ var chainObj = {
|
|
|
297
297
|
"celo": {
|
|
298
298
|
chainName: "Celo Mainnet",
|
|
299
299
|
chainId: 42220,
|
|
300
|
-
blockExplorerUrl: "https://explorer.celo.org/tx/",
|
|
300
|
+
blockExplorerUrl: "https://explorer.celo.org/mainnet/tx/",
|
|
301
301
|
// 此处不设置地址,原因是celo没有存在正常意义上的native token
|
|
302
302
|
nativeCurrency: { name: "CELO", symbol: "CELO", decimals: 18, address: "" },
|
|
303
303
|
popularToken: [],
|
|
@@ -61,7 +61,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61
61
|
* @desc
|
|
62
62
|
*/
|
|
63
63
|
// @ts-ignore
|
|
64
|
-
var
|
|
64
|
+
var gnosisSafe_svg_1 = __importDefault(require("../assets/gnosisSafe.svg"));
|
|
65
65
|
var types_1 = require("../types");
|
|
66
66
|
var BaseWallet_1 = __importDefault(require("./BaseWallet"));
|
|
67
67
|
var web3_1 = __importDefault(require("web3"));
|
|
@@ -72,7 +72,7 @@ var GnosisSafeWallet = /** @class */ (function (_super) {
|
|
|
72
72
|
function GnosisSafeWallet() {
|
|
73
73
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
74
74
|
_this.name = types_1.EnumWalletName.GnosisSafeWallet;
|
|
75
|
-
_this.icon =
|
|
75
|
+
_this.icon = gnosisSafe_svg_1.default;
|
|
76
76
|
_this.supportChains = [
|
|
77
77
|
types_1.EnumChains.ETH,
|
|
78
78
|
types_1.EnumChains.XDai,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="40" height="40" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="35" height="35" rx="17.5" fill="#12FF80"/>
|
|
3
|
+
<path d="M28.1421 17.4982H25.5277C24.7469 17.4982 24.1142 18.131 24.1142 18.912V22.7074C24.1142 23.4884 23.4815 24.1212 22.7007 24.1212H12.3C11.5192 24.1212 10.8865 24.7541 10.8865 25.535V28.15C10.8865 28.931 11.5192 29.5638 12.3 29.5638H23.3027C24.0836 29.5638 24.7072 28.931 24.7072 28.15V26.052C24.7072 25.271 25.3399 24.717 26.1207 24.717H28.1415C28.9224 24.717 29.555 24.0842 29.555 23.3032V18.8956C29.555 18.1146 28.9224 17.4982 28.1415 17.4982H28.1421Z" fill="#121312"/>
|
|
4
|
+
<path d="M10.8859 12.3032C10.8859 11.5222 11.5186 10.8894 12.2994 10.8894H22.6938C23.4746 10.8894 24.1073 10.2565 24.1073 9.47556V6.86063C24.1073 6.07964 23.4746 5.44681 22.6938 5.44681H11.6969C10.9161 5.44681 10.2834 6.07964 10.2834 6.86063V8.87554C10.2834 9.65652 9.6507 10.2894 8.86988 10.2894H6.85808C6.07727 10.2894 5.44458 10.9222 5.44458 11.7032V16.1155C5.44458 16.8965 6.07991 17.4976 6.86073 17.4976H9.47507C10.2559 17.4976 10.8886 16.8648 10.8886 16.0838L10.8859 12.3037V12.3032Z" fill="#121312"/>
|
|
5
|
+
<path d="M16.2696 14.7493H18.7808C19.5992 14.7493 20.2631 15.4139 20.2631 16.2319V18.7437C20.2631 19.5622 19.5986 20.2263 18.7808 20.2263H16.2696C15.4513 20.2263 14.7874 19.5617 14.7874 18.7437V16.2319C14.7874 15.4134 15.4518 14.7493 16.2696 14.7493Z" fill="#121312"/>
|
|
6
|
+
</svg>
|