@sentio/sdk-bundle 2.55.0 → 2.55.1
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/lib/aptos/builtin/0x1.js +1 -1
- package/lib/aptos/builtin/0x3.js +1 -1
- package/lib/aptos/builtin/0x4.js +1 -1
- package/lib/aptos/builtin/index.js +1 -1
- package/lib/aptos/ext/index.js +1 -1
- package/lib/aptos/index.js +1 -1
- package/lib/btc/index.js +1 -1
- package/lib/{chunk-I7TWNRII.js → chunk-24TKIKAC.js} +2 -2
- package/lib/{chunk-ECZHCPDZ.js → chunk-26VKFV5Y.js} +2 -2
- package/lib/{chunk-F3FKHNF5.js → chunk-4ZKROMHQ.js} +2 -2
- package/lib/{chunk-D2L7KWZ2.js → chunk-5NXOOGVA.js} +2 -2
- package/lib/{chunk-MD3T4H6B.js → chunk-6P4HU4KH.js} +2 -2
- package/lib/{chunk-4VKVPYSL.js → chunk-A3BBP3JY.js} +2 -2
- package/lib/{chunk-JL6D6MPI.js → chunk-CQUL5GH2.js} +2 -2
- package/lib/{chunk-P2KJHIUL.js → chunk-EJ3LB3BV.js} +2 -2
- package/lib/{chunk-KV6ZVB7D.js → chunk-HWODJFVJ.js} +2 -2
- package/lib/{chunk-B3UDK7W6.js → chunk-JUDV27KS.js} +2 -2
- package/lib/{chunk-YQ55FG72.js → chunk-NEZRMKYM.js} +2 -2
- package/lib/{chunk-UQPDY6MT.js → chunk-QR7CH6SO.js} +2 -2
- package/lib/{chunk-BS7I2ZMW.js → chunk-RIHABKWB.js} +2 -2
- package/lib/{chunk-WR6FD24P.js → chunk-RZTTP64K.js} +2 -2
- package/lib/{chunk-QHT2WN3B.js → chunk-SQBMMGFT.js} +2 -2
- package/lib/{chunk-JVCO6QTF.js → chunk-SXK7O76Y.js} +2 -2
- package/lib/{chunk-N2VKAC4J.js → chunk-VA46M7OL.js} +2 -2
- package/lib/{chunk-CX3O4KA4.js → chunk-VLD3QNSH.js} +105 -105
- package/lib/{chunk-CX3O4KA4.js.map → chunk-VLD3QNSH.js.map} +1 -1
- package/lib/{chunk-MO32SIXZ.js → chunk-YQ346IMF.js} +2 -2
- package/lib/chunk-ZSDI5U4B.js +6 -0
- package/lib/chunk-ZSDI5U4B.js.map +1 -0
- package/lib/core/index.js +1 -1
- package/lib/eth/builtin/eacaggregatorproxy.js +1 -1
- package/lib/eth/builtin/erc1155.js +1 -1
- package/lib/eth/builtin/erc20.js +1 -1
- package/lib/eth/builtin/erc721.js +1 -1
- package/lib/eth/builtin/index.js +1 -1
- package/lib/eth/builtin/weth9.js +1 -1
- package/lib/eth/index.js +1 -1
- package/lib/fuel/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/move/index.js +1 -1
- package/lib/solana/builtin/index.js +1 -1
- package/lib/solana/index.js +1 -1
- package/lib/stark/index.js +1 -1
- package/lib/store/index.js +1 -1
- package/lib/sui/builtin/0x1.js +1 -1
- package/lib/sui/builtin/0x2.js +1 -1
- package/lib/sui/builtin/0x3.js +1 -1
- package/lib/sui/builtin/index.js +1 -1
- package/lib/sui/ext/index.js +1 -1
- package/lib/sui/index.js +1 -1
- package/lib/testing/index.js +1 -1
- package/lib/utils/index.js +1 -1
- package/package.json +2 -2
- package/lib/chunk-SUNKPJCY.js +0 -6
- package/lib/chunk-SUNKPJCY.js.map +0 -1
- /package/lib/{chunk-I7TWNRII.js.map → chunk-24TKIKAC.js.map} +0 -0
- /package/lib/{chunk-ECZHCPDZ.js.map → chunk-26VKFV5Y.js.map} +0 -0
- /package/lib/{chunk-F3FKHNF5.js.map → chunk-4ZKROMHQ.js.map} +0 -0
- /package/lib/{chunk-D2L7KWZ2.js.map → chunk-5NXOOGVA.js.map} +0 -0
- /package/lib/{chunk-MD3T4H6B.js.map → chunk-6P4HU4KH.js.map} +0 -0
- /package/lib/{chunk-4VKVPYSL.js.map → chunk-A3BBP3JY.js.map} +0 -0
- /package/lib/{chunk-JL6D6MPI.js.map → chunk-CQUL5GH2.js.map} +0 -0
- /package/lib/{chunk-P2KJHIUL.js.map → chunk-EJ3LB3BV.js.map} +0 -0
- /package/lib/{chunk-KV6ZVB7D.js.map → chunk-HWODJFVJ.js.map} +0 -0
- /package/lib/{chunk-B3UDK7W6.js.map → chunk-JUDV27KS.js.map} +0 -0
- /package/lib/{chunk-YQ55FG72.js.map → chunk-NEZRMKYM.js.map} +0 -0
- /package/lib/{chunk-UQPDY6MT.js.map → chunk-QR7CH6SO.js.map} +0 -0
- /package/lib/{chunk-BS7I2ZMW.js.map → chunk-RIHABKWB.js.map} +0 -0
- /package/lib/{chunk-WR6FD24P.js.map → chunk-RZTTP64K.js.map} +0 -0
- /package/lib/{chunk-QHT2WN3B.js.map → chunk-SQBMMGFT.js.map} +0 -0
- /package/lib/{chunk-JVCO6QTF.js.map → chunk-SXK7O76Y.js.map} +0 -0
- /package/lib/{chunk-N2VKAC4J.js.map → chunk-VA46M7OL.js.map} +0 -0
- /package/lib/{chunk-MO32SIXZ.js.map → chunk-YQ346IMF.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,F as u,U as O,V as R,W as v,e as y,f as b,i as l,o as i,t as T,w as g,x as m,y as w,z as P}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{B,F as u,U as O,V as R,W as v,e as y,f as b,i as l,o as i,t as T,w as g,x as m,y as w,z as P}from"./chunk-SQBMMGFT.js";import{a as o,e as S}from"./chunk-G5BIPHMS.js";var C=u.connect("0x0",R),x=class extends y{static{o(this,"ERC20BytesContractView")}constructor(t){super(t),this.callStatic.contract=t}async name(t,e,r){try{return await this.contract.getFunction("name()")(t||{})}catch(a){let s=new Error().stack;throw l(a,void 0,s)}}async totalSupply(t,e,r){try{return await this.contract.getFunction("totalSupply()")(t||{})}catch(a){let s=new Error().stack;throw l(a,void 0,s)}}async decimals(t,e,r){try{return await this.contract.getFunction("decimals()")(t||{})}catch(a){let s=new Error().stack;throw l(a,void 0,s)}}async balanceOf(t,e,r,a){try{return await this.contract.getFunction("balanceOf(address)")(t,e||{})}catch(s){let c=new Error().stack;throw l(s,void 0,c)}}async symbol(t,e,r){try{return await this.contract.getFunction("symbol()")(t||{})}catch(a){let s=new Error().stack;throw l(a,void 0,s)}}async allowance(t,e,r,a,s){try{return await this.contract.getFunction("allowance(address,address)")(t,e,r||{})}catch(c){let d=new Error().stack;throw l(c,void 0,d)}}callStatic={contract:this.contract,async approve(t,e,r,a,s){try{return await this.contract.getFunction("approve(address,uint256)").staticCall(t,e,r||{})}catch(c){let d=new Error().stack;throw l(c,void 0,d)}},async transferFrom(t,e,r,a,s,c){try{return await this.contract.getFunction("transferFrom(address,address,uint256)").staticCall(t,e,r,a||{})}catch(d){let F=new Error().stack;throw l(d,void 0,F)}},async transfer(t,e,r,a,s){try{return await this.contract.getFunction("transfer(address,uint256)").staticCall(t,e,r||{})}catch(c){let d=new Error().stack;throw l(c,void 0,d)}}};encodeCall={name(t){return i(t,"name","function name()",[])},approve(t,e,r){return i(r,"approve","function approve(address,uint256)",[t,e])},totalSupply(t){return i(t,"totalSupply","function totalSupply()",[])},transferFrom(t,e,r,a){return i(a,"transferFrom","function transferFrom(address,address,uint256)",[t,e,r])},decimals(t){return i(t,"decimals","function decimals()",[])},balanceOf(t,e){return i(e,"balanceOf","function balanceOf(address)",[t])},symbol(t){return i(t,"symbol","function symbol()",[])},transfer(t,e,r){return i(r,"transfer","function transfer(address,uint256)",[t,e])},allowance(t,e,r){return i(r,"allowance","function allowance(address,address)",[t,e])}}},h=class extends b{static{o(this,"ERC20BytesBoundContractView")}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 transfer(t,e,r){return await this.view.callStatic.transfer(t,e,{blockTag:this.context.blockNumber,...r},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)})},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)})},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)})}}},E=class n extends T{static{o(this,"ERC20BytesProcessor")}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)}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)}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)}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)}};CreateBoundContractView(){let t=p(this.config.network,this.config.address);return new h(this.config.address,t)}static bind(t){t.name||(t.name="ERC20Bytes");let e=g(t);return e||(e=new n(t),m(t,e)),e}},f=class extends B{static{o(this,"ERC20BytesProcessorTemplate")}bindInternal(t){t.name||(t.name="ERC20Bytes");let e=g(t);return e||(e=new E(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)}};function p(n,t){let e=w("ERC20Bytes",t,n);if(!e){let r=u.connect(t,O(n));e=new x(r),P("ERC20Bytes",t,n,e)}return e}o(p,"getERC20BytesContract");function A(n,t){let e=p(n.getChainId(),t),r=new h(t,e);return r.context=n,r.callStatic&&(r.callStatic.context=n),r}o(A,"getERC20BytesContractOnContext");import("node:process").then(n=>n.stdout.write(""));var N={};S(N,{ERC20BytesBoundContractView:()=>h,ERC20BytesContractView:()=>x,ERC20BytesProcessor:()=>E,ERC20BytesProcessorTemplate:()=>f,ERC20Bytes__factory:()=>u,getERC20BytesContract:()=>p,getERC20BytesContractOnContext:()=>A,mockApprovalLog:()=>D,mockTransferLog:()=>I});var k={blockHash:"0x0000000000000000000000000000000000000000000000000000000000000000",blockNumber:0,logIndex:0,removed:!1,transactionHash:"0x0000000000000000000000000000000000000000000000000000000000000000",transactionIndex:0};function D(n,t){let r=p(v.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Approval(address,address,uint256)",[t.owner,t.spender,t.value]);return{...k,index:0,address:n,data:r.data,topics:r.topics}}o(D,"mockApprovalLog");function I(n,t){let r=p(v.EthChainId.ETHEREUM,n).rawContract.interface.encodeEventLog("Transfer(address,address,uint256)",[t.from,t.to,t.value]);return{...k,index:0,address:n,data:r.data,topics:r.topics}}o(I,"mockTransferLog");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{E as a,f as b,p as c,N as d};
|
|
3
|
+
//# sourceMappingURL=chunk-RZTTP64K.js.map
|