@ercworldio/blockchain-shared 1.0.5-dev.8-PLAT304.2 → 1.0.5-dev.8-PLAT304.3
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.
|
@@ -618,7 +618,8 @@
|
|
|
618
618
|
"overflow_threshold_decimal": 100000,
|
|
619
619
|
"min_funding_wallet_balance_usd": 1,
|
|
620
620
|
"allowed_receivers": [
|
|
621
|
-
"0x32fDf51e2EdbCD58f10A721Bd2A815e64135B815"
|
|
621
|
+
"0x32fDf51e2EdbCD58f10A721Bd2A815e64135B815",
|
|
622
|
+
"0x5798C0C8Cc396Da77Aaa68c0722B70926f98946C"
|
|
622
623
|
]
|
|
623
624
|
},
|
|
624
625
|
"custodialAlchemyWebhooks": [
|
|
@@ -204,7 +204,7 @@ class MultisigService {
|
|
|
204
204
|
*/
|
|
205
205
|
static fn_create_admin_withdrawal_request(pool, blockchain, chainId, escrow_address, amount, amount_decimals, token_address, receiver_address, admin_user_id) {
|
|
206
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
207
|
-
const result = yield pool.query(`SELECT multisig.fn_create_admin_withdrawal_request($1::varchar,$2::varchar,$3::varchar,$4::numeric,$5::numeric,$6::varchar,$7::varchar,$8::
|
|
207
|
+
const result = yield pool.query(`SELECT multisig.fn_create_admin_withdrawal_request($1::varchar,$2::varchar,$3::varchar,$4::numeric,$5::numeric,$6::varchar,$7::varchar,$8::varchar)`, [blockchain, chainId, escrow_address, amount, amount_decimals, token_address, receiver_address, admin_user_id.toString()]);
|
|
208
208
|
if (!result)
|
|
209
209
|
throw new Error(`DB FN error: multisig.fn_create_admin_withdrawal_request()`);
|
|
210
210
|
return result.rows[0].fn_create_admin_withdrawal_request;
|