修改market上链流程, 修改okx和passport图标
This commit is contained in:
parent
323d708d09
commit
f3533d7901
@ -61,7 +61,8 @@ export class ImtblMarket {
|
||||
if (action.type === orderbook.ActionType.TRANSACTION) {
|
||||
const builtTx = await action.buildTransaction()
|
||||
console.log(`Submitting ${action.purpose} transaction`)
|
||||
await signer.sendTransaction(builtTx);
|
||||
const res = await this.signer.sendTransaction(builtTx);
|
||||
await this.provider.waitForTransaction(res.hash)
|
||||
}
|
||||
|
||||
// For an order to be created (and subsequently filled), Immutable needs a valid signature for the order data.
|
||||
@ -136,7 +137,8 @@ export class ImtblMarket {
|
||||
if (action.type === orderbook.ActionType.TRANSACTION) {
|
||||
const builtTx = await action.buildTransaction();
|
||||
console.log(`Submitting ${action.purpose} transaction`);
|
||||
await signer.sendTransaction(builtTx);
|
||||
const res = await sthis.igner.sendTransaction(builtTx);
|
||||
await this.provider.waitForTransaction(res.hash);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -172,7 +174,8 @@ export class ImtblMarket {
|
||||
if (action.type === orderbook.ActionType.TRANSACTION) {
|
||||
const builtTx = await action.buildTransaction();
|
||||
console.log(`Submitting ${action.purpose} transaction`);
|
||||
await signer.sendTransaction(builtTx);
|
||||
const res = await this.signer.sendTransaction(builtTx);
|
||||
await this.provider.waitForTransaction(res.hash);
|
||||
}
|
||||
}
|
||||
console.log(
|
||||
|
@ -105,6 +105,8 @@ function hideModal(result = null) {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 1.35417vw;
|
||||
height: 3.125vw;
|
||||
}
|
||||
.modal-sub-title {
|
||||
padding: 15px 20px;
|
||||
@ -165,7 +167,6 @@ function hideModal(result = null) {
|
||||
width: 80%;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin-top: 0.5em;
|
||||
text-align: left;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
33
yarn.lock
33
yarn.lock
@ -548,15 +548,15 @@
|
||||
resolved "https://registry.npmmirror.com/@esbuild-plugins/node-globals-polyfill/-/node-globals-polyfill-0.2.3.tgz"
|
||||
integrity sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw==
|
||||
|
||||
"@esbuild/win32-x64@0.16.17":
|
||||
"@esbuild/darwin-arm64@0.16.17":
|
||||
version "0.16.17"
|
||||
resolved "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz"
|
||||
integrity sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==
|
||||
resolved "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz"
|
||||
integrity sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==
|
||||
|
||||
"@esbuild/win32-x64@0.17.19":
|
||||
"@esbuild/darwin-arm64@0.17.19":
|
||||
version "0.17.19"
|
||||
resolved "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz"
|
||||
integrity sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==
|
||||
resolved "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz"
|
||||
integrity sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==
|
||||
|
||||
"@eslint/eslintrc@^2.0.0":
|
||||
version "2.0.0"
|
||||
@ -1455,10 +1455,10 @@
|
||||
"@nomicfoundation/ethereumjs-rlp" "5.0.4"
|
||||
ethereum-cryptography "0.1.3"
|
||||
|
||||
"@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.1":
|
||||
"@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1":
|
||||
version "0.1.1"
|
||||
resolved "https://registry.npmmirror.com/@nomicfoundation/solidity-analyzer-win32-x64-msvc/-/solidity-analyzer-win32-x64-msvc-0.1.1.tgz"
|
||||
integrity sha512-HrVJr6+WjIXGnw3Q9u6KQcbZCtk0caVWhCdFADySvRyUxJ8PnzlaP+MhwNE8oyT8OZ6ejHBRrrgjSqDCFXGirw==
|
||||
resolved "https://registry.npmmirror.com/@nomicfoundation/solidity-analyzer-darwin-arm64/-/solidity-analyzer-darwin-arm64-0.1.1.tgz"
|
||||
integrity sha512-KcTodaQw8ivDZyF+D76FokN/HdpgGpfjc/gFCImdLUyqB6eSWVaZPazMbeAjmfhx3R0zm/NYVzxwAokFKgrc0w==
|
||||
|
||||
"@nomicfoundation/solidity-analyzer@^0.1.0":
|
||||
version "0.1.1"
|
||||
@ -1494,6 +1494,11 @@
|
||||
resolved "https://registry.npmmirror.com/@openzeppelin/contracts/-/contracts-3.4.2-solc-0.7.tgz"
|
||||
integrity sha512-W6QmqgkADuFcTLzHL8vVoNBtkwjvQRpYIAom7KiUNoLKghyx3FgH0GBjt8NRvigV1ZmMOBllvE1By1C+bi8WpA==
|
||||
|
||||
"@parcel/watcher-darwin-arm64@2.4.1":
|
||||
version "2.4.1"
|
||||
resolved "https://registry.npmmirror.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.1.tgz"
|
||||
integrity sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==
|
||||
|
||||
"@parcel/watcher-wasm@^2.4.1":
|
||||
version "2.4.1"
|
||||
resolved "https://registry.npmmirror.com/@parcel/watcher-wasm/-/watcher-wasm-2.4.1.tgz"
|
||||
@ -1503,11 +1508,6 @@
|
||||
micromatch "^4.0.5"
|
||||
napi-wasm "^1.1.0"
|
||||
|
||||
"@parcel/watcher-win32-x64@2.4.1":
|
||||
version "2.4.1"
|
||||
resolved "https://registry.npmmirror.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.1.tgz"
|
||||
integrity sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A==
|
||||
|
||||
"@parcel/watcher@^2.4.1":
|
||||
version "2.4.1"
|
||||
resolved "https://registry.npmmirror.com/@parcel/watcher/-/watcher-2.4.1.tgz"
|
||||
@ -7345,6 +7345,11 @@ fs.realpath@^1.0.0:
|
||||
resolved "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz"
|
||||
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
|
||||
|
||||
fsevents@^2.3.2, fsevents@~2.3.2:
|
||||
version "2.3.2"
|
||||
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
|
||||
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
||||
|
||||
function-bind@^1.1.1, function-bind@^1.1.2:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user