rubic-sdk 4.1202.2-alpha → 4.1202.3-alpha

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/README.md CHANGED
@@ -107,7 +107,12 @@
107
107
  }
108
108
  },
109
109
  // if you are whitelisted integrator, provide your wallet address here
110
- providerAddress: '0x0000000000000000000000000000000000000000'
110
+ providerAddress: {
111
+ [CHAIN_TYPE.EVM]: {
112
+ crossChain: '0x0000000000000000000000000000000000000000', // Address for cross chain fee
113
+ onChain: '0x0000000000000000000000000000000000000000' // Address for on chain fee
114
+ }
115
+ }
111
116
  }
112
117
 
113
118
  async function main() {
@@ -156,7 +161,12 @@
156
161
  }
157
162
  },
158
163
  // if you are whitelisted integrator, provide your wallet address here
159
- providerAddress: '0x0000000000000000000000000000000000000000'
164
+ providerAddress: {
165
+ [CHAIN_TYPE.EVM]: {
166
+ crossChain: '0x0000000000000000000000000000000000000000', // Address for cross chain fee
167
+ onChain: '0x0000000000000000000000000000000000000000' // Address for on chain fee
168
+ }
169
+ }
160
170
  }
161
171
  ```
162
172
  2. Create sdk instance
@@ -208246,7 +208246,7 @@ class DebridgeCrossChainTrade extends evm_cross_chain_trade_1.EvmCrossChainTrade
208246
208246
  return this.from.blockchain;
208247
208247
  }
208248
208248
  get fromContractAddress() {
208249
- return contract_address_1.DE_BRIDGE_CONTRACT_ADDRESS[this.fromBlockchain].rubicRouter;
208249
+ return contract_address_1.DE_BRIDGE_CONTRACT_ADDRESS[this.fromBlockchain].providerGateway;
208250
208250
  }
208251
208251
  get methodName() {
208252
208252
  return '';