在路由执行前后添加自定义消息
executeRoute 方法现在接受 beforeMsg 和 afterMsg 参数,用于在路由执行之前和/或之后执行自定义的 Cosmos 消息。这适用于执行未包含在路由定义中的自定义消息。
使用 Go Fast Transfer 系统
route 函数接受 goFast 参数以启用 Go Fast Transfers。然后将该路由传给 executeRoute 方法执行。
在 Solana 交易中添加手续费支付方
executeRoute 方法接受 svmFeePayer 参数,用于为 Solana 交易指定手续费支付方。当你希望由其他账户支付交易手续费时,这会很有用。
Adding custom messages before or after route execution
TheexecuteRoute method now accepts beforeMsg and afterMsg parameter to allow for the execution of custom Cosmos messages before and/or after the route is executed. This is useful for executing custom messages that are not part of the route definition.
Use the Go Fast Transfer system
Theroute function accepts a goFast parameter to enable the Go Fast Transfers. Then pass this route to the executeRoute method to execute.
Add a fee payer in solana transaction
TheexecuteRoute method accepts a svmFeePayer parameter to specify a fee payer for Solana transactions. This is useful when you want to have a different account pay the transaction fees.