@lit-protocol/vincent-ability-debridge 0.0.7-mma → 0.0.8-mma
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 +0 -2
- package/dist/README.md +0 -2
- package/dist/src/generated/lit-action.js +2 -2
- package/dist/src/generated/vincent-ability-metadata.json +1 -1
- package/dist/src/generated/vincent-bundled-ability.d.ts +0 -3
- package/dist/src/generated/vincent-bundled-ability.d.ts.map +1 -1
- package/dist/src/lib/schemas.d.ts +0 -3
- package/dist/src/lib/schemas.d.ts.map +1 -1
- package/dist/src/lib/schemas.js +0 -4
- package/dist/src/lib/schemas.js.map +1 -1
- package/dist/src/lib/vincent-ability.d.ts +0 -3
- package/dist/src/lib/vincent-ability.d.ts.map +1 -1
- package/dist/src/lib/vincent-ability.js +4 -9
- package/dist/src/lib/vincent-ability.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -38,7 +38,6 @@ const bridgeParams = {
|
|
|
38
38
|
sourceToken: '0x0000000000000000000000000000000000000000', // Native ETH
|
|
39
39
|
destinationToken: '0x0000000000000000000000000000000000000000', // Native ETH
|
|
40
40
|
amount: ethers.utils.parseEther('0.1').toString(), // 0.1 ETH in wei
|
|
41
|
-
recipientAddress: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD7e',
|
|
42
41
|
operation: 'BRIDGE',
|
|
43
42
|
slippageBps: 100, // 1% slippage
|
|
44
43
|
};
|
|
@@ -81,7 +80,6 @@ if (precheckRes.success) {
|
|
|
81
80
|
| `sourceToken` | `string` | ✅ | Source token address (use zero address for native token) |
|
|
82
81
|
| `destinationToken` | `string` | ✅ | Destination token address (use zero address for native token) |
|
|
83
82
|
| `amount` | `string` | ✅ | Amount in base units (wei for ETH, smallest unit for tokens) |
|
|
84
|
-
| `recipientAddress` | `string` | ✅ | Recipient address on destination chain |
|
|
85
83
|
| `operation` | `string` | ✅ | `BRIDGE` for direct transfers, `BRIDGE_AND_SWAP` for cross-asset transfers |
|
|
86
84
|
| `slippageBps` | `number` | ❌ | Slippage tolerance in basis points (default: 100 = 1%) |
|
|
87
85
|
|
package/dist/README.md
CHANGED
|
@@ -38,7 +38,6 @@ const bridgeParams = {
|
|
|
38
38
|
sourceToken: '0x0000000000000000000000000000000000000000', // Native ETH
|
|
39
39
|
destinationToken: '0x0000000000000000000000000000000000000000', // Native ETH
|
|
40
40
|
amount: ethers.utils.parseEther('0.1').toString(), // 0.1 ETH in wei
|
|
41
|
-
recipientAddress: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD7e',
|
|
42
41
|
operation: 'BRIDGE',
|
|
43
42
|
slippageBps: 100, // 1% slippage
|
|
44
43
|
};
|
|
@@ -81,7 +80,6 @@ if (precheckRes.success) {
|
|
|
81
80
|
| `sourceToken` | `string` | ✅ | Source token address (use zero address for native token) |
|
|
82
81
|
| `destinationToken` | `string` | ✅ | Destination token address (use zero address for native token) |
|
|
83
82
|
| `amount` | `string` | ✅ | Amount in base units (wei for ETH, smallest unit for tokens) |
|
|
84
|
-
| `recipientAddress` | `string` | ✅ | Recipient address on destination chain |
|
|
85
83
|
| `operation` | `string` | ✅ | `BRIDGE` for direct transfers, `BRIDGE_AND_SWAP` for cross-asset transfers |
|
|
86
84
|
| `slippageBps` | `number` | ❌ | Slippage tolerance in basis points (default: 100 = 1%) |
|
|
87
85
|
|