File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed
Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 462462 "ledgerSequenceDelta" : {
463463 "type" : " number"
464464 },
465- "gasPrice" : {
466- "type" : " number"
467- },
468465 "noSplitChange" : {
469466 "type" : " boolean"
470467 },
762759 "coinSpecificParams" : {
763760 "type" : " object" ,
764761 "properties" : {
762+ "ecdsaCosmosLikeRecoverySpecificParams" : {
763+ "type" : " object" ,
764+ "properties" : {
765+ "rootAddress" : {
766+ "type" : " string"
767+ }
768+ },
769+ "required" : [
770+ " rootAddress"
771+ ]
772+ },
773+ "ecdsaEthLikeRecoverySpecificParams" : {
774+ "type" : " object" ,
775+ "properties" : {
776+ "apiKey" : {
777+ "type" : " string"
778+ },
779+ "bitgoDestinationAddress" : {
780+ "type" : " string"
781+ },
782+ "walletContractAddress" : {
783+ "type" : " string"
784+ }
785+ },
786+ "required" : [
787+ " apiKey" ,
788+ " bitgoDestinationAddress" ,
789+ " walletContractAddress"
790+ ]
791+ },
765792 "evmRecoveryOptions" : {
766793 "type" : " object" ,
767794 "properties" : {
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ export async function handleRecoveryWalletOnPrem(
271271 gasLimit,
272272 bitgoDestinationAddress : coinSpecificParams ?. ecdsaEthLikeRecoverySpecificParams
273273 ?. bitgoDestinationAddress as string ,
274+ apiKey : coinSpecificParams ?. ecdsaEthLikeRecoverySpecificParams ?. apiKey
274275 } ;
275276 } else if ( isCosmosLikeCoin ( sdkCoin ) ) {
276277 params . cosmosLikeParams = {
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export const RecoveryParamTypes = {
7979 ecdsaEthLikeRecoverySpecificParams : t . type ( {
8080 walletContractAddress : t . string ,
8181 bitgoDestinationAddress : t . string ,
82+ apiKey : t . string ,
8283 } ) ,
8384
8485 // ECDSA Cosmos-like recovery specific parameters
You can’t perform that action at this time.
0 commit comments