@sentio/sdk-bundle 2.57.2 → 2.57.3-rc.2

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.
Files changed (61) hide show
  1. package/lib/aptos/builtin/0x1.js +1 -1
  2. package/lib/aptos/builtin/0x3.js +1 -1
  3. package/lib/aptos/builtin/0x4.js +1 -1
  4. package/lib/aptos/builtin/index.js +1 -1
  5. package/lib/aptos/ext/index.js +1 -1
  6. package/lib/aptos/index.js +1 -1
  7. package/lib/{chunk-5JWYVY5H.js → chunk-6PGFF76V.js} +2 -2
  8. package/lib/{chunk-EHRXN7HX.js → chunk-BOEYWLDH.js} +2 -2
  9. package/lib/{chunk-GRZ24GOA.js → chunk-BYPQDNPL.js} +2 -2
  10. package/lib/{chunk-EYPKKYBS.js → chunk-DYLBYHYN.js} +2 -2
  11. package/lib/{chunk-UGQVWKQO.js → chunk-EM7YOUVQ.js} +2 -2
  12. package/lib/{chunk-NPKTGOU7.js → chunk-FSZM7KHR.js} +2 -2
  13. package/lib/{chunk-OOB53ZZ4.js → chunk-G3EQZN2M.js} +2 -2
  14. package/lib/chunk-HRZJHNIM.js +3 -0
  15. package/lib/{chunk-S76WGSOI.js.map → chunk-HRZJHNIM.js.map} +1 -1
  16. package/lib/{chunk-UYCDWLE2.js → chunk-KGMUACX6.js} +2 -2
  17. package/lib/{chunk-PFHSMQI7.js → chunk-MG7ZXQKG.js} +2 -2
  18. package/lib/{chunk-LRQKVEA2.js → chunk-RVXPSAPC.js} +2 -2
  19. package/lib/{chunk-AW4EVG5G.js → chunk-RZGU3HDK.js} +2 -2
  20. package/lib/{chunk-ULBZWETW.js → chunk-SXCFLYBR.js} +2 -2
  21. package/lib/{chunk-QWCBBUDM.js → chunk-WAW6A3ZN.js} +2 -2
  22. package/lib/{chunk-6RPDHRHD.js → chunk-X4PHIEDR.js} +2 -2
  23. package/lib/{chunk-TSQYCZYN.js → chunk-YAU6U4AI.js} +2 -2
  24. package/lib/{chunk-DNHPTIF6.js → chunk-ZLLPRHTT.js} +2 -2
  25. package/lib/eth/builtin/eacaggregatorproxy.js +1 -1
  26. package/lib/eth/builtin/erc1155.js +1 -1
  27. package/lib/eth/builtin/erc20.js +1 -1
  28. package/lib/eth/builtin/erc721.js +1 -1
  29. package/lib/eth/builtin/index.js +1 -1
  30. package/lib/eth/builtin/weth9.js +1 -1
  31. package/lib/eth/index.js +1 -1
  32. package/lib/fuel/index.js +1 -1
  33. package/lib/solana/builtin/index.js +1 -1
  34. package/lib/solana/index.js +1 -1
  35. package/lib/stark/index.js +1 -1
  36. package/lib/sui/builtin/0x1.js +1 -1
  37. package/lib/sui/builtin/0x2.js +1 -1
  38. package/lib/sui/builtin/0x3.js +1 -1
  39. package/lib/sui/builtin/index.js +1 -1
  40. package/lib/sui/ext/index.js +1 -1
  41. package/lib/sui/index.js +1 -1
  42. package/lib/testing/index.js +1 -1
  43. package/lib/utils/index.js +1 -1
  44. package/package.json +2 -2
  45. package/lib/chunk-S76WGSOI.js +0 -3
  46. /package/lib/{chunk-5JWYVY5H.js.map → chunk-6PGFF76V.js.map} +0 -0
  47. /package/lib/{chunk-EHRXN7HX.js.map → chunk-BOEYWLDH.js.map} +0 -0
  48. /package/lib/{chunk-GRZ24GOA.js.map → chunk-BYPQDNPL.js.map} +0 -0
  49. /package/lib/{chunk-EYPKKYBS.js.map → chunk-DYLBYHYN.js.map} +0 -0
  50. /package/lib/{chunk-UGQVWKQO.js.map → chunk-EM7YOUVQ.js.map} +0 -0
  51. /package/lib/{chunk-NPKTGOU7.js.map → chunk-FSZM7KHR.js.map} +0 -0
  52. /package/lib/{chunk-OOB53ZZ4.js.map → chunk-G3EQZN2M.js.map} +0 -0
  53. /package/lib/{chunk-UYCDWLE2.js.map → chunk-KGMUACX6.js.map} +0 -0
  54. /package/lib/{chunk-PFHSMQI7.js.map → chunk-MG7ZXQKG.js.map} +0 -0
  55. /package/lib/{chunk-LRQKVEA2.js.map → chunk-RVXPSAPC.js.map} +0 -0
  56. /package/lib/{chunk-AW4EVG5G.js.map → chunk-RZGU3HDK.js.map} +0 -0
  57. /package/lib/{chunk-ULBZWETW.js.map → chunk-SXCFLYBR.js.map} +0 -0
  58. /package/lib/{chunk-QWCBBUDM.js.map → chunk-WAW6A3ZN.js.map} +0 -0
  59. /package/lib/{chunk-6RPDHRHD.js.map → chunk-X4PHIEDR.js.map} +0 -0
  60. /package/lib/{chunk-TSQYCZYN.js.map → chunk-YAU6U4AI.js.map} +0 -0
  61. /package/lib/{chunk-DNHPTIF6.js.map → chunk-ZLLPRHTT.js.map} +0 -0
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{B as O,H as u,U as k,V as F,W as C,e as w,f as b,i as s,o as l,t as y,w as T,x as m,y as P,z as W}from"./chunk-UGQVWKQO.js";import{a as i,e as H}from"./chunk-G5BIPHMS.js";var I={};H(I,{WETH9BoundContractView:()=>E,WETH9ContractView:()=>x,WETH9Processor:()=>g,WETH9ProcessorTemplate:()=>f,WETH9__factory:()=>u,getWETH9Contract:()=>p,getWETH9ContractOnContext:()=>B,mockApprovalLog:()=>S,mockDepositLog:()=>A,mockTransferLog:()=>j,mockWithdrawalLog:()=>N});var c=u.connect("0x0",F),x=class extends w{static{i(this,"WETH9ContractView")}constructor(t){super(t),this.callStatic.contract=t}async name(t,e,r){try{return await this.contract.getFunction("name()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async totalSupply(t,e,r){try{return await this.contract.getFunction("totalSupply()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async decimals(t,e,r){try{return await this.contract.getFunction("decimals()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async balanceOf(t,e,r,a){try{return await this.contract.getFunction("balanceOf(address)")(t,e||{})}catch(o){let d=new Error().stack;throw s(o,void 0,d)}}async symbol(t,e,r){try{return await this.contract.getFunction("symbol()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async allowance(t,e,r,a,o){try{return await this.contract.getFunction("allowance(address,address)")(t,e,r||{})}catch(d){let h=new Error().stack;throw s(d,void 0,h)}}callStatic={contract:this.contract,async approve(t,e,r,a,o){try{return await this.contract.getFunction("approve(address,uint256)").staticCall(t,e,r||{})}catch(d){let h=new Error().stack;throw s(d,void 0,h)}},async transferFrom(t,e,r,a,o,d){try{return await this.contract.getFunction("transferFrom(address,address,uint256)").staticCall(t,e,r,a||{})}catch(h){let D=new Error().stack;throw s(h,void 0,D)}},async withdraw(t,e,r,a){try{return await this.contract.getFunction("withdraw(uint256)").staticCall(t,e||{})}catch(o){let d=new Error().stack;throw s(o,void 0,d)}},async transfer(t,e,r,a,o){try{return await this.contract.getFunction("transfer(address,uint256)").staticCall(t,e,r||{})}catch(d){let h=new Error().stack;throw s(d,void 0,h)}},async deposit(t,e,r){try{return await this.contract.getFunction("deposit()").staticCall(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}};encodeCall={name(t){return l(t,"name","function name()",[])},approve(t,e,r){return l(r,"approve","function approve(address,uint256)",[t,e])},totalSupply(t){return l(t,"totalSupply","function totalSupply()",[])},transferFrom(t,e,r,a){return l(a,"transferFrom","function transferFrom(address,address,uint256)",[t,e,r])},withdraw(t,e){return l(e,"withdraw","function withdraw(uint256)",[t])},decimals(t){return l(t,"decimals","function decimals()",[])},balanceOf(t,e){return l(e,"balanceOf","function balanceOf(address)",[t])},symbol(t){return l(t,"symbol","function symbol()",[])},transfer(t,e,r){return l(r,"transfer","function transfer(address,uint256)",[t,e])},deposit(t){return l(t,"deposit","function deposit()",[])},allowance(t,e,r){return l(r,"allowance","function allowance(address,address)",[t,e])}}},E=class extends b{static{i(this,"WETH9BoundContractView")}async name(t){return await this.view.name({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async totalSupply(t){return await this.view.totalSupply({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async decimals(t){return await this.view.decimals({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async balanceOf(t,e){return await this.view.balanceOf(t,{blockTag:this.context.blockNumber,...e},this.context.preparedData,this.context.getEthCallContext())}async symbol(t){return await this.view.symbol({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async allowance(t,e,r){return await this.view.allowance(t,e,{blockTag:this.context.blockNumber,...r},this.context.preparedData,this.context.getEthCallContext())}callStatic={view:this.view,context:this.context,async approve(t,e,r){return await this.view.callStatic.approve(t,e,{blockTag:this.context.blockNumber,...r},this.context.preparedData,this.context.getEthCallContext())},async transferFrom(t,e,r,a){return await this.view.callStatic.transferFrom(t,e,r,{blockTag:this.context.blockNumber,...a},this.context.preparedData,this.context.getEthCallContext())},async withdraw(t,e){return await this.view.callStatic.withdraw(t,{blockTag:this.context.blockNumber,...e},this.context.preparedData,this.context.getEthCallContext())},async transfer(t,e,r){return await this.view.callStatic.transfer(t,e,{blockTag:this.context.blockNumber,...r},this.context.preparedData,this.context.getEthCallContext())},async deposit(t){return await this.view.callStatic.deposit({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}};encodeCall={view:this.view,context:this.context,name(t){return this.view.encodeCall.name({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},approve(t,e,r){return this.view.encodeCall.approve(t,e,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(r)})},totalSupply(t){return this.view.encodeCall.totalSupply({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},transferFrom(t,e,r,a){return this.view.encodeCall.transferFrom(t,e,r,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(a)})},withdraw(t,e){return this.view.encodeCall.withdraw(t,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(e)})},decimals(t){return this.view.encodeCall.decimals({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},balanceOf(t,e){return this.view.encodeCall.balanceOf(t,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(e)})},symbol(t){return this.view.encodeCall.symbol({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},transfer(t,e,r){return this.view.encodeCall.transfer(t,e,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(r)})},deposit(t){return this.view.encodeCall.deposit({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},allowance(t,e,r){return this.view.encodeCall.allowance(t,e,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(r)})}}},g=class n extends y{static{i(this,"WETH9Processor")}onEventApproval(t,e,r,a){return e||(e=c.filters["Approval(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventTransfer(t,e,r,a){return e||(e=c.filters["Transfer(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventDeposit(t,e,r,a){return e||(e=c.filters["Deposit(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}onEventWithdrawal(t,e,r,a){return e||(e=c.filters["Withdrawal(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}onCallName(t,e,r){return super.onEthTrace("0x06fdde03",t,e,r)}onCallApprove(t,e,r){return super.onEthTrace("0x095ea7b3",t,e,r)}onCallTotalSupply(t,e,r){return super.onEthTrace("0x18160ddd",t,e,r)}onCallTransferFrom(t,e,r){return super.onEthTrace("0x23b872dd",t,e,r)}onCallWithdraw(t,e,r){return super.onEthTrace("0x2e1a7d4d",t,e,r)}onCallDecimals(t,e,r){return super.onEthTrace("0x313ce567",t,e,r)}onCallBalanceOf(t,e,r){return super.onEthTrace("0x70a08231",t,e,r)}onCallSymbol(t,e,r){return super.onEthTrace("0x95d89b41",t,e,r)}onCallTransfer(t,e,r){return super.onEthTrace("0xa9059cbb",t,e,r)}onCallDeposit(t,e,r){return super.onEthTrace("0xd0e30db0",t,e,r)}onCallAllowance(t,e,r){return super.onEthTrace("0xdd62ed3e",t,e,r)}static filters={Approval(t,e,r){return c.filters["Approval(address,address,uint256)"](t,e,r)},Transfer(t,e,r){return c.filters["Transfer(address,address,uint256)"](t,e,r)},Deposit(t,e){return c.filters["Deposit(address,uint256)"](t,e)},Withdrawal(t,e){return c.filters["Withdrawal(address,uint256)"](t,e)}};CreateBoundContractView(){let t=p(this.config.network,this.config.address);return new E(this.config.address,t)}static bind(t){t.name||(t.name="WETH9");let e=T(t);return e||(e=new n(t),m(t,e)),e}},f=class extends O{static{i(this,"WETH9ProcessorTemplate")}bindInternal(t){t.name||(t.name="WETH9");let e=T(t);return e||(e=new g(t),m(t,e)),e}onEventApproval(t,e,r,a){return e||(e=c.filters["Approval(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventTransfer(t,e,r,a){return e||(e=c.filters["Transfer(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventDeposit(t,e,r,a){return e||(e=c.filters["Deposit(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}onEventWithdrawal(t,e,r,a){return e||(e=c.filters["Withdrawal(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}};function p(n,t){let e=P("WETH9",t,n);if(!e){let r=u.connect(t,k(n));e=new x(r),W("WETH9",t,n,e)}return e}i(p,"getWETH9Contract");function B(n,t){let e=p(n.getChainId(),t),r=new E(t,e);return r.context=n,r.callStatic&&(r.callStatic.context=n),r}i(B,"getWETH9ContractOnContext");import("node:process").then(n=>n.stdout.write(""));var v={blockHash:"0x0000000000000000000000000000000000000000000000000000000000000000",blockNumber:0,logIndex:0,removed:!1,transactionHash:"0x0000000000000000000000000000000000000000000000000000000000000000",transactionIndex:0};function S(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Approval(address,address,uint256)",[t.src,t.guy,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(S,"mockApprovalLog");function j(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Transfer(address,address,uint256)",[t.src,t.dst,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(j,"mockTransferLog");function A(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Deposit(address,uint256)",[t.dst,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(A,"mockDepositLog");function N(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Withdrawal(address,uint256)",[t.src,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(N,"mockWithdrawalLog");import("node:process").then(n=>n.stdout.write(""));import("node:process").then(n=>n.stdout.write(""));import("node:process").then(n=>n.stdout.write(""));export{x as a,E as b,g as c,f as d,p as e,B as f,S as g,j as h,A as i,N as j,I as k};
3
- //# sourceMappingURL=chunk-DNHPTIF6.js.map
2
+ import{B as O,H as u,U as k,V as F,W as C,e as w,f as b,i as s,o as l,t as y,w as T,x as m,y as P,z as W}from"./chunk-EM7YOUVQ.js";import{a as i,e as H}from"./chunk-G5BIPHMS.js";var I={};H(I,{WETH9BoundContractView:()=>E,WETH9ContractView:()=>x,WETH9Processor:()=>g,WETH9ProcessorTemplate:()=>f,WETH9__factory:()=>u,getWETH9Contract:()=>p,getWETH9ContractOnContext:()=>B,mockApprovalLog:()=>S,mockDepositLog:()=>A,mockTransferLog:()=>j,mockWithdrawalLog:()=>N});var c=u.connect("0x0",F),x=class extends w{static{i(this,"WETH9ContractView")}constructor(t){super(t),this.callStatic.contract=t}async name(t,e,r){try{return await this.contract.getFunction("name()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async totalSupply(t,e,r){try{return await this.contract.getFunction("totalSupply()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async decimals(t,e,r){try{return await this.contract.getFunction("decimals()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async balanceOf(t,e,r,a){try{return await this.contract.getFunction("balanceOf(address)")(t,e||{})}catch(o){let d=new Error().stack;throw s(o,void 0,d)}}async symbol(t,e,r){try{return await this.contract.getFunction("symbol()")(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}async allowance(t,e,r,a,o){try{return await this.contract.getFunction("allowance(address,address)")(t,e,r||{})}catch(d){let h=new Error().stack;throw s(d,void 0,h)}}callStatic={contract:this.contract,async approve(t,e,r,a,o){try{return await this.contract.getFunction("approve(address,uint256)").staticCall(t,e,r||{})}catch(d){let h=new Error().stack;throw s(d,void 0,h)}},async transferFrom(t,e,r,a,o,d){try{return await this.contract.getFunction("transferFrom(address,address,uint256)").staticCall(t,e,r,a||{})}catch(h){let D=new Error().stack;throw s(h,void 0,D)}},async withdraw(t,e,r,a){try{return await this.contract.getFunction("withdraw(uint256)").staticCall(t,e||{})}catch(o){let d=new Error().stack;throw s(o,void 0,d)}},async transfer(t,e,r,a,o){try{return await this.contract.getFunction("transfer(address,uint256)").staticCall(t,e,r||{})}catch(d){let h=new Error().stack;throw s(d,void 0,h)}},async deposit(t,e,r){try{return await this.contract.getFunction("deposit()").staticCall(t||{})}catch(a){let o=new Error().stack;throw s(a,void 0,o)}}};encodeCall={name(t){return l(t,"name","function name()",[])},approve(t,e,r){return l(r,"approve","function approve(address,uint256)",[t,e])},totalSupply(t){return l(t,"totalSupply","function totalSupply()",[])},transferFrom(t,e,r,a){return l(a,"transferFrom","function transferFrom(address,address,uint256)",[t,e,r])},withdraw(t,e){return l(e,"withdraw","function withdraw(uint256)",[t])},decimals(t){return l(t,"decimals","function decimals()",[])},balanceOf(t,e){return l(e,"balanceOf","function balanceOf(address)",[t])},symbol(t){return l(t,"symbol","function symbol()",[])},transfer(t,e,r){return l(r,"transfer","function transfer(address,uint256)",[t,e])},deposit(t){return l(t,"deposit","function deposit()",[])},allowance(t,e,r){return l(r,"allowance","function allowance(address,address)",[t,e])}}},E=class extends b{static{i(this,"WETH9BoundContractView")}async name(t){return await this.view.name({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async totalSupply(t){return await this.view.totalSupply({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async decimals(t){return await this.view.decimals({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async balanceOf(t,e){return await this.view.balanceOf(t,{blockTag:this.context.blockNumber,...e},this.context.preparedData,this.context.getEthCallContext())}async symbol(t){return await this.view.symbol({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}async allowance(t,e,r){return await this.view.allowance(t,e,{blockTag:this.context.blockNumber,...r},this.context.preparedData,this.context.getEthCallContext())}callStatic={view:this.view,context:this.context,async approve(t,e,r){return await this.view.callStatic.approve(t,e,{blockTag:this.context.blockNumber,...r},this.context.preparedData,this.context.getEthCallContext())},async transferFrom(t,e,r,a){return await this.view.callStatic.transferFrom(t,e,r,{blockTag:this.context.blockNumber,...a},this.context.preparedData,this.context.getEthCallContext())},async withdraw(t,e){return await this.view.callStatic.withdraw(t,{blockTag:this.context.blockNumber,...e},this.context.preparedData,this.context.getEthCallContext())},async transfer(t,e,r){return await this.view.callStatic.transfer(t,e,{blockTag:this.context.blockNumber,...r},this.context.preparedData,this.context.getEthCallContext())},async deposit(t){return await this.view.callStatic.deposit({blockTag:this.context.blockNumber,...t},this.context.preparedData,this.context.getEthCallContext())}};encodeCall={view:this.view,context:this.context,name(t){return this.view.encodeCall.name({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},approve(t,e,r){return this.view.encodeCall.approve(t,e,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(r)})},totalSupply(t){return this.view.encodeCall.totalSupply({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},transferFrom(t,e,r,a){return this.view.encodeCall.transferFrom(t,e,r,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(a)})},withdraw(t,e){return this.view.encodeCall.withdraw(t,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(e)})},decimals(t){return this.view.encodeCall.decimals({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},balanceOf(t,e){return this.view.encodeCall.balanceOf(t,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(e)})},symbol(t){return this.view.encodeCall.symbol({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},transfer(t,e,r){return this.view.encodeCall.transfer(t,e,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(r)})},deposit(t){return this.view.encodeCall.deposit({chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(t)})},allowance(t,e,r){return this.view.encodeCall.allowance(t,e,{chainId:this.context.chainId.toString(),address:this.context.address,blockTag:this.context.getBlockTag(r)})}}},g=class n extends y{static{i(this,"WETH9Processor")}onEventApproval(t,e,r,a){return e||(e=c.filters["Approval(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventTransfer(t,e,r,a){return e||(e=c.filters["Transfer(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventDeposit(t,e,r,a){return e||(e=c.filters["Deposit(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}onEventWithdrawal(t,e,r,a){return e||(e=c.filters["Withdrawal(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}onCallName(t,e,r){return super.onEthTrace("0x06fdde03",t,e,r)}onCallApprove(t,e,r){return super.onEthTrace("0x095ea7b3",t,e,r)}onCallTotalSupply(t,e,r){return super.onEthTrace("0x18160ddd",t,e,r)}onCallTransferFrom(t,e,r){return super.onEthTrace("0x23b872dd",t,e,r)}onCallWithdraw(t,e,r){return super.onEthTrace("0x2e1a7d4d",t,e,r)}onCallDecimals(t,e,r){return super.onEthTrace("0x313ce567",t,e,r)}onCallBalanceOf(t,e,r){return super.onEthTrace("0x70a08231",t,e,r)}onCallSymbol(t,e,r){return super.onEthTrace("0x95d89b41",t,e,r)}onCallTransfer(t,e,r){return super.onEthTrace("0xa9059cbb",t,e,r)}onCallDeposit(t,e,r){return super.onEthTrace("0xd0e30db0",t,e,r)}onCallAllowance(t,e,r){return super.onEthTrace("0xdd62ed3e",t,e,r)}static filters={Approval(t,e,r){return c.filters["Approval(address,address,uint256)"](t,e,r)},Transfer(t,e,r){return c.filters["Transfer(address,address,uint256)"](t,e,r)},Deposit(t,e){return c.filters["Deposit(address,uint256)"](t,e)},Withdrawal(t,e){return c.filters["Withdrawal(address,uint256)"](t,e)}};CreateBoundContractView(){let t=p(this.config.network,this.config.address);return new E(this.config.address,t)}static bind(t){t.name||(t.name="WETH9");let e=T(t);return e||(e=new n(t),m(t,e)),e}},f=class extends O{static{i(this,"WETH9ProcessorTemplate")}bindInternal(t){t.name||(t.name="WETH9");let e=T(t);return e||(e=new g(t),m(t,e)),e}onEventApproval(t,e,r,a){return e||(e=c.filters["Approval(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventTransfer(t,e,r,a){return e||(e=c.filters["Transfer(address,address,uint256)"](null,null,null)),super.onEthEvent(t,e,r,a)}onEventDeposit(t,e,r,a){return e||(e=c.filters["Deposit(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}onEventWithdrawal(t,e,r,a){return e||(e=c.filters["Withdrawal(address,uint256)"](null,null)),super.onEthEvent(t,e,r,a)}};function p(n,t){let e=P("WETH9",t,n);if(!e){let r=u.connect(t,k(n));e=new x(r),W("WETH9",t,n,e)}return e}i(p,"getWETH9Contract");function B(n,t){let e=p(n.getChainId(),t),r=new E(t,e);return r.context=n,r.callStatic&&(r.callStatic.context=n),r}i(B,"getWETH9ContractOnContext");import("node:process").then(n=>n.stdout.write(""));var v={blockHash:"0x0000000000000000000000000000000000000000000000000000000000000000",blockNumber:0,logIndex:0,removed:!1,transactionHash:"0x0000000000000000000000000000000000000000000000000000000000000000",transactionIndex:0};function S(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Approval(address,address,uint256)",[t.src,t.guy,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(S,"mockApprovalLog");function j(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Transfer(address,address,uint256)",[t.src,t.dst,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(j,"mockTransferLog");function A(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Deposit(address,uint256)",[t.dst,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(A,"mockDepositLog");function N(n,t){let r=p(C.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Withdrawal(address,uint256)",[t.src,t.wad]);return{...v,index:0,address:n,data:r.data,topics:r.topics}}i(N,"mockWithdrawalLog");import("node:process").then(n=>n.stdout.write(""));import("node:process").then(n=>n.stdout.write(""));import("node:process").then(n=>n.stdout.write(""));export{x as a,E as b,g as c,f as d,p as e,B as f,S as g,j as h,A as i,N as j,I as k};
3
+ //# sourceMappingURL=chunk-ZLLPRHTT.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k}from"../../chunk-UYCDWLE2.js";import{C as a}from"../../chunk-UGQVWKQO.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as EACAggregatorProxyBoundContractView,b as EACAggregatorProxyContractView,d as EACAggregatorProxyProcessor,e as EACAggregatorProxyProcessorTemplate,a as EACAggregatorProxy__factory,f as getEACAggregatorProxyContract,g as getEACAggregatorProxyContractOnContext,h as mockAnswerUpdatedLog,i as mockNewRoundLog,j as mockOwnershipTransferRequestedLog,k as mockOwnershipTransferredLog};
2
+ import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k}from"../../chunk-KGMUACX6.js";import{C as a}from"../../chunk-EM7YOUVQ.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as EACAggregatorProxyBoundContractView,b as EACAggregatorProxyContractView,d as EACAggregatorProxyProcessor,e as EACAggregatorProxyProcessorTemplate,a as EACAggregatorProxy__factory,f as getEACAggregatorProxyContract,g as getEACAggregatorProxyContractOnContext,h as mockAnswerUpdatedLog,i as mockNewRoundLog,j as mockOwnershipTransferRequestedLog,k as mockOwnershipTransferredLog};
3
3
  //# sourceMappingURL=eacaggregatorproxy.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k}from"../../chunk-PFHSMQI7.js";import{D as a}from"../../chunk-UGQVWKQO.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as ERC1155BoundContractView,b as ERC1155ContractView,d as ERC1155Processor,e as ERC1155ProcessorTemplate,a as ERC1155__factory,f as getERC1155Contract,g as getERC1155ContractOnContext,h as mockApprovalForAllLog,i as mockTransferBatchLog,j as mockTransferSingleLog,k as mockURILog};
2
+ import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k}from"../../chunk-MG7ZXQKG.js";import{D as a}from"../../chunk-EM7YOUVQ.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as ERC1155BoundContractView,b as ERC1155ContractView,d as ERC1155Processor,e as ERC1155ProcessorTemplate,a as ERC1155__factory,f as getERC1155Contract,g as getERC1155ContractOnContext,h as mockApprovalForAllLog,i as mockTransferBatchLog,j as mockTransferSingleLog,k as mockURILog};
3
3
  //# sourceMappingURL=erc1155.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{$ as e,E as a,Y as b,Z as c,_ as d,aa as f,ba as g,ca as h,da as i,ea as j}from"../../chunk-UGQVWKQO.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as ERC20BoundContractView,b as ERC20ContractView,d as ERC20Processor,e as ERC20ProcessorTemplate,a as ERC20__factory,f as getERC20Contract,g as getERC20ContractOnContext,h as mockApprovalLog,i as mockOwnershipTransferredLog,j as mockTransferLog};
2
+ import{$ as e,E as a,Y as b,Z as c,_ as d,aa as f,ba as g,ca as h,da as i,ea as j}from"../../chunk-EM7YOUVQ.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as ERC20BoundContractView,b as ERC20ContractView,d as ERC20Processor,e as ERC20ProcessorTemplate,a as ERC20__factory,f as getERC20Contract,g as getERC20ContractOnContext,h as mockApprovalLog,i as mockOwnershipTransferredLog,j as mockTransferLog};
3
3
  //# sourceMappingURL=erc20.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{G as a,I as b,J as c,K as d,L as e,M as f,N as g,O as h,P as i,Q as j}from"../../chunk-UGQVWKQO.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as ERC721BoundContractView,b as ERC721ContractView,d as ERC721Processor,e as ERC721ProcessorTemplate,a as ERC721__factory,f as getERC721Contract,g as getERC721ContractOnContext,i as mockApprovalForAllLog,h as mockApprovalLog,j as mockTransferLog};
2
+ import{G as a,I as b,J as c,K as d,L as e,M as f,N as g,O as h,P as i,Q as j}from"../../chunk-EM7YOUVQ.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as ERC721BoundContractView,b as ERC721ContractView,d as ERC721Processor,e as ERC721ProcessorTemplate,a as ERC721__factory,f as getERC721Contract,g as getERC721ContractOnContext,i as mockApprovalForAllLog,h as mockApprovalLog,j as mockTransferLog};
3
3
  //# sourceMappingURL=erc721.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{c as C,d as g,k as R}from"../../chunk-PFHSMQI7.js";import{c as T,d as l,k as y}from"../../chunk-DNHPTIF6.js";import{a,b as c,d as x}from"../../chunk-QWCBBUDM.js";import{c as P,d as f,k as E}from"../../chunk-UYCDWLE2.js";import{$ as p,K as o,L as e,R as s,_ as t,fa as m}from"../../chunk-UGQVWKQO.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";import("node:process").then(r=>r.stdout.write(""));export{P as EACAggregatorProxyProcessor,f as EACAggregatorProxyProcessorTemplate,C as ERC1155Processor,g as ERC1155ProcessorTemplate,a as ERC20BytesProcessor,c as ERC20BytesProcessorTemplate,t as ERC20Processor,p as ERC20ProcessorTemplate,o as ERC721Processor,e as ERC721ProcessorTemplate,T as WETH9Processor,l as WETH9ProcessorTemplate,E as eacaggregatorproxy,R as erc1155,m as erc20,x as erc20bytes,s as erc721,y as weth9};
2
+ import{c as C,d as g,k as R}from"../../chunk-MG7ZXQKG.js";import{c as T,d as l,k as y}from"../../chunk-ZLLPRHTT.js";import{a,b as c,d as x}from"../../chunk-WAW6A3ZN.js";import{c as P,d as f,k as E}from"../../chunk-KGMUACX6.js";import{$ as p,K as o,L as e,R as s,_ as t,fa as m}from"../../chunk-EM7YOUVQ.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";import("node:process").then(r=>r.stdout.write(""));export{P as EACAggregatorProxyProcessor,f as EACAggregatorProxyProcessorTemplate,C as ERC1155Processor,g as ERC1155ProcessorTemplate,a as ERC20BytesProcessor,c as ERC20BytesProcessorTemplate,t as ERC20Processor,p as ERC20ProcessorTemplate,o as ERC721Processor,e as ERC721ProcessorTemplate,T as WETH9Processor,l as WETH9ProcessorTemplate,E as eacaggregatorproxy,R as erc1155,m as erc20,x as erc20bytes,s as erc721,y as weth9};
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k}from"../../chunk-DNHPTIF6.js";import{H as a}from"../../chunk-UGQVWKQO.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as WETH9BoundContractView,b as WETH9ContractView,d as WETH9Processor,e as WETH9ProcessorTemplate,a as WETH9__factory,f as getWETH9Contract,g as getWETH9ContractOnContext,h as mockApprovalLog,j as mockDepositLog,i as mockTransferLog,k as mockWithdrawalLog};
2
+ import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k}from"../../chunk-ZLLPRHTT.js";import{H as a}from"../../chunk-EM7YOUVQ.js";import"../../chunk-4WNGQ3EZ.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import"../../chunk-G5BIPHMS.js";export{c as WETH9BoundContractView,b as WETH9ContractView,d as WETH9Processor,e as WETH9ProcessorTemplate,a as WETH9__factory,f as getWETH9Contract,g as getWETH9ContractOnContext,h as mockApprovalLog,j as mockDepositLog,i as mockTransferLog,k as mockWithdrawalLog};
3
3
  //# sourceMappingURL=weth9.js.map
package/lib/eth/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{A as B,B as C,S as D,T as E,U as F,V as G,W as H,X as I,a as c,b as d,c as e,d as f,e as g,f as h,h as i,i as j,j as k,k as l,l as m,m as n,n as o,o as p,p as q,q as r,r as s,s as t,t as u,u as v,v as w,w as x,x as y,y as z,z as A}from"../chunk-UGQVWKQO.js";import"../chunk-4WNGQ3EZ.js";import"../chunk-S76WGSOI.js";import{Kb as b,na as a}from"../chunk-7CU2Y4GL.js";import"../chunk-RA75ESSD.js";import"../chunk-G5BIPHMS.js";var export_EthChainId=H.EthChainId;export{w as AccountBindOptions,d as AccountContext,D as AccountProcessor,u as BaseProcessor,C as BaseProcessorTemplate,v as BindOptions,h as BoundContractView,f as ContractContext,g as ContractView,G as DummyProvider,export_EthChainId as EthChainId,c as EthContext,a as EthFetchConfig,E as EthPlugin,B as GenericProcessor,e as GlobalContext,t as GlobalProcessor,b as PreprocessResult,i as SimpleEthersError,A as addContractByABI,y as addProcessor,s as defaultPreprocessHandler,p as encodeCallData,k as fixEmptyKey,l as formatEthData,m as formatRichBlock,z as getContractByABI,x as getProcessor,F as getProvider,n as isNullAddress,I as makeEthCallKey,q as newContract,r as newInterface,j as transformEtherError,o as validateAndNormalizeAddress};
2
+ import{A as B,B as C,S as D,T as E,U as F,V as G,W as H,X as I,a as c,b as d,c as e,d as f,e as g,f as h,h as i,i as j,j as k,k as l,l as m,m as n,n as o,o as p,p as q,q as r,r as s,s as t,t as u,u as v,v as w,w as x,x as y,y as z,z as A}from"../chunk-EM7YOUVQ.js";import"../chunk-4WNGQ3EZ.js";import"../chunk-HRZJHNIM.js";import{Kb as b,na as a}from"../chunk-7CU2Y4GL.js";import"../chunk-RA75ESSD.js";import"../chunk-G5BIPHMS.js";var export_EthChainId=H.EthChainId;export{w as AccountBindOptions,d as AccountContext,D as AccountProcessor,u as BaseProcessor,C as BaseProcessorTemplate,v as BindOptions,h as BoundContractView,f as ContractContext,g as ContractView,G as DummyProvider,export_EthChainId as EthChainId,c as EthContext,a as EthFetchConfig,E as EthPlugin,B as GenericProcessor,e as GlobalContext,t as GlobalProcessor,b as PreprocessResult,i as SimpleEthersError,A as addContractByABI,y as addProcessor,s as defaultPreprocessHandler,p as encodeCallData,k as fixEmptyKey,l as formatEthData,m as formatRichBlock,z as getContractByABI,x as getProcessor,F as getProvider,n as isNullAddress,I as makeEthCallKey,q as newContract,r as newInterface,j as transformEtherError,o as validateAndNormalizeAddress};
3
3
  //# sourceMappingURL=index.js.map
package/lib/fuel/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v}from"../chunk-LRQKVEA2.js";import"../chunk-4WNGQ3EZ.js";import"../chunk-S76WGSOI.js";import"../chunk-7CU2Y4GL.js";import"../chunk-RA75ESSD.js";import"../chunk-G5BIPHMS.js";export{h as DEFAULT_FUEL_FETCH_CONFIG,u as FuelAbstractProcessor,p as FuelAssetProcessor,t as FuelBaseProcessorTemplate,e as FuelCall,f as FuelContext,g as FuelContractContext,q as FuelGlobalProcessor,b as FuelNetwork,r as FuelPlugin,l as FuelProcessor,a as FuelProcessorState,s as FuelProcessorTemplateProcessorState,v as TypedCall,o as addFuelProcessor,i as decodeFuelTransaction,k as decodeFuelTransactionWithAbi,j as decodeLog,n as getFuelProcessor,m as getOptionsSignature,d as getProvider,c as getRpcEndpoint};
2
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v}from"../chunk-RVXPSAPC.js";import"../chunk-4WNGQ3EZ.js";import"../chunk-HRZJHNIM.js";import"../chunk-7CU2Y4GL.js";import"../chunk-RA75ESSD.js";import"../chunk-G5BIPHMS.js";export{h as DEFAULT_FUEL_FETCH_CONFIG,u as FuelAbstractProcessor,p as FuelAssetProcessor,t as FuelBaseProcessorTemplate,e as FuelCall,f as FuelContext,g as FuelContractContext,q as FuelGlobalProcessor,b as FuelNetwork,r as FuelPlugin,l as FuelProcessor,a as FuelProcessorState,s as FuelProcessorTemplateProcessorState,v as TypedCall,o as addFuelProcessor,i as decodeFuelTransaction,k as decodeFuelTransactionWithAbi,j as decodeLog,n as getFuelProcessor,m as getOptionsSignature,d as getProvider,c as getRpcEndpoint};
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{c as a}from"../../chunk-ULBZWETW.js";import"../../chunk-FMZDKD72.js";import"../../chunk-HZEHHGVF.js";import"../../chunk-SUCYR7EB.js";import"../../chunk-S76WGSOI.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import{a as e}from"../../chunk-G5BIPHMS.js";var r=class i extends a{static{e(this,"SPLTokenProcessor")}static bind(n){return n&&!n.name&&(n.name="SPL Token Program"),new i(n)}fromParsedInstruction=e(n=>n.type?{name:n.type,data:{...n.info}}:null,"fromParsedInstruction");onInitializeMint(n){return this.onInstruction("initializeMint",(t,o)=>{t&&n(t.data,o)}),this}onInitializeAccount(n){return this.onInstruction("initializeAccount",(t,o)=>{t&&n(t.data,o)}),this}onInitializeAccount2(n){return this.onInstruction("initializeAccount2",(t,o)=>{t&&n(t.data,o)}),this}onInitializeAccount3(n){return this.onInstruction("initializeAccount3",(t,o)=>{t&&n(t.data,o)}),this}onInitializeMultisig(n){return this.onInstruction("initializeMultisig",(t,o)=>{t&&n(t.data,o)}),this}onTransfer(n){return this.onInstruction("transfer",(t,o)=>{t&&n(t.data,o)}),this}onApprovend(n){return this.onInstruction("approve",(t,o)=>{t&&n(t.data,o)}),this}onRevoke(n){return this.onInstruction("revoke",(t,o)=>{t&&n(t.data,o)}),this}onSetAuthority(n){return this.onInstruction("setAuthority",(t,o)=>{t&&n(t.data,o)}),this}onMintTo(n){return this.onInstruction("mintTo",(t,o)=>{t&&n(t.data,o)}),this}onBurn(n){return this.onInstruction("burn",(t,o)=>{t&&n(t.data,o)}),this}onCloseAccount(n){return this.onInstruction("closeAccount",(t,o)=>{t&&n(t.data,o)}),this}onFreezeAccount(n){return this.onInstruction("freezeAccount",(t,o)=>{t&&n(t.data,o)}),this}onThawAccount(n){return this.onInstruction("thawAccount",(t,o)=>{t&&n(t.data,o)}),this}onTransferChecked(n){return this.onInstruction("transferChecked",(t,o)=>{t&&n(t.data,o)}),this}onApproveChecked(n){return this.onInstruction("approveChecked",(t,o)=>{t&&n(t.data,o)}),this}onMintToChecked(n){return this.onInstruction("mintToChecked",(t,o)=>{t&&n(t.data,o)}),this}onBurnChecked(n){return this.onInstruction("burnChecked",(t,o)=>{t&&n(t.data,o)}),this}onSyncNative(n){return this.onInstruction("syncNative",(t,o)=>{t&&n(t.data,o)}),this}onGetAccountDataSize(n){return this.onInstruction("getAccountDataSize",(t,o)=>{t&&n(t.data,o)}),this}onInitializeImmutableOwner(n){return this.onInstruction("initializeImmutableOwner",(t,o)=>{t&&n(t.data,o)}),this}onAmountToUiAmount(n){return this.onInstruction("amountToUiAmount",(t,o)=>{t&&n(t.data,o)}),this}onUiAmountToAmount(n){return this.onInstruction("uiAmountToAmount",(t,o)=>{t&&n(t.data,o)}),this}onInitializeMintCloseAuthority(n){return this.onInstruction("initializeMintCloseAuthority",(t,o)=>{t&&n(t.data,o)}),this}onTransferFeeExtension(n){return this.onInstruction("transferFeeExtension",(t,o)=>{t&&n(t.data,o)}),this}onDefaultAccountStateExtension(n){return this.onInstruction("defaultAccountStateExtension",(t,o)=>{t&&n(t.data,o)}),this}onReallocate(n){return this.onInstruction("reallocate",(t,o)=>{t&&n(t.data,o)}),this}onMemoTransferExtension(n){return this.onInstruction("memoTransferExtension",(t,o)=>{t&&n(t.data,o)}),this}onCreateNativeMint(n){return this.onInstruction("createNativeMint",(t,o)=>{t&&n(t.data,o)}),this}};import("node:process").then(i=>i.stdout.write(""));import("node:process").then(i=>i.stdout.write(""));export{r as SPLTokenProcessor};
2
+ import{c as a}from"../../chunk-SXCFLYBR.js";import"../../chunk-FMZDKD72.js";import"../../chunk-HZEHHGVF.js";import"../../chunk-SUCYR7EB.js";import"../../chunk-HRZJHNIM.js";import"../../chunk-7CU2Y4GL.js";import"../../chunk-RA75ESSD.js";import{a as e}from"../../chunk-G5BIPHMS.js";var r=class i extends a{static{e(this,"SPLTokenProcessor")}static bind(n){return n&&!n.name&&(n.name="SPL Token Program"),new i(n)}fromParsedInstruction=e(n=>n.type?{name:n.type,data:{...n.info}}:null,"fromParsedInstruction");onInitializeMint(n){return this.onInstruction("initializeMint",(t,o)=>{t&&n(t.data,o)}),this}onInitializeAccount(n){return this.onInstruction("initializeAccount",(t,o)=>{t&&n(t.data,o)}),this}onInitializeAccount2(n){return this.onInstruction("initializeAccount2",(t,o)=>{t&&n(t.data,o)}),this}onInitializeAccount3(n){return this.onInstruction("initializeAccount3",(t,o)=>{t&&n(t.data,o)}),this}onInitializeMultisig(n){return this.onInstruction("initializeMultisig",(t,o)=>{t&&n(t.data,o)}),this}onTransfer(n){return this.onInstruction("transfer",(t,o)=>{t&&n(t.data,o)}),this}onApprovend(n){return this.onInstruction("approve",(t,o)=>{t&&n(t.data,o)}),this}onRevoke(n){return this.onInstruction("revoke",(t,o)=>{t&&n(t.data,o)}),this}onSetAuthority(n){return this.onInstruction("setAuthority",(t,o)=>{t&&n(t.data,o)}),this}onMintTo(n){return this.onInstruction("mintTo",(t,o)=>{t&&n(t.data,o)}),this}onBurn(n){return this.onInstruction("burn",(t,o)=>{t&&n(t.data,o)}),this}onCloseAccount(n){return this.onInstruction("closeAccount",(t,o)=>{t&&n(t.data,o)}),this}onFreezeAccount(n){return this.onInstruction("freezeAccount",(t,o)=>{t&&n(t.data,o)}),this}onThawAccount(n){return this.onInstruction("thawAccount",(t,o)=>{t&&n(t.data,o)}),this}onTransferChecked(n){return this.onInstruction("transferChecked",(t,o)=>{t&&n(t.data,o)}),this}onApproveChecked(n){return this.onInstruction("approveChecked",(t,o)=>{t&&n(t.data,o)}),this}onMintToChecked(n){return this.onInstruction("mintToChecked",(t,o)=>{t&&n(t.data,o)}),this}onBurnChecked(n){return this.onInstruction("burnChecked",(t,o)=>{t&&n(t.data,o)}),this}onSyncNative(n){return this.onInstruction("syncNative",(t,o)=>{t&&n(t.data,o)}),this}onGetAccountDataSize(n){return this.onInstruction("getAccountDataSize",(t,o)=>{t&&n(t.data,o)}),this}onInitializeImmutableOwner(n){return this.onInstruction("initializeImmutableOwner",(t,o)=>{t&&n(t.data,o)}),this}onAmountToUiAmount(n){return this.onInstruction("amountToUiAmount",(t,o)=>{t&&n(t.data,o)}),this}onUiAmountToAmount(n){return this.onInstruction("uiAmountToAmount",(t,o)=>{t&&n(t.data,o)}),this}onInitializeMintCloseAuthority(n){return this.onInstruction("initializeMintCloseAuthority",(t,o)=>{t&&n(t.data,o)}),this}onTransferFeeExtension(n){return this.onInstruction("transferFeeExtension",(t,o)=>{t&&n(t.data,o)}),this}onDefaultAccountStateExtension(n){return this.onInstruction("defaultAccountStateExtension",(t,o)=>{t&&n(t.data,o)}),this}onReallocate(n){return this.onInstruction("reallocate",(t,o)=>{t&&n(t.data,o)}),this}onMemoTransferExtension(n){return this.onInstruction("memoTransferExtension",(t,o)=>{t&&n(t.data,o)}),this}onCreateNativeMint(n){return this.onInstruction("createNativeMint",(t,o)=>{t&&n(t.data,o)}),this}};import("node:process").then(i=>i.stdout.write(""));import("node:process").then(i=>i.stdout.write(""));export{r as SPLTokenProcessor};
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
1
  import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import{a,b,c,d,e,f}from"../chunk-ULBZWETW.js";import"../chunk-FMZDKD72.js";import"../chunk-HZEHHGVF.js";import"../chunk-SUCYR7EB.js";import"../chunk-S76WGSOI.js";import"../chunk-7CU2Y4GL.js";import"../chunk-RA75ESSD.js";import"../chunk-G5BIPHMS.js";export{f as BorshInstructionCoder,c as SolanaBaseProcessor,e as SolanaBindOptions,a as SolanaContext,d as SolanaPlugin,b as SolanaProcessorState};
2
+ import{a,b,c,d,e,f}from"../chunk-SXCFLYBR.js";import"../chunk-FMZDKD72.js";import"../chunk-HZEHHGVF.js";import"../chunk-SUCYR7EB.js";import"../chunk-HRZJHNIM.js";import"../chunk-7CU2Y4GL.js";import"../chunk-RA75ESSD.js";import"../chunk-G5BIPHMS.js";export{f as BorshInstructionCoder,c as SolanaBaseProcessor,e as SolanaBindOptions,a as SolanaContext,d as SolanaPlugin,b as SolanaProcessorState};
3
3
  //# sourceMappingURL=index.js.map