UNPKG

@hashgraph/sdk

Version:
3 lines (2 loc) 643 B
import t from"../Cache.js";import r from"./ContractId.js";class o extends r{constructor(t,r,o,e){super(t,r,o,e)}static fromString(t){return new o(r.fromString(t))}static _fromProtobuf(t){return new o(r._fromProtobuf(t))}static fromBytes(t){return new o(r.fromBytes(t))}static fromSolidityAddress(t){return new o(r.fromSolidityAddress(t))}clone(){const t=new o(this);return t._checksum=this._checksum,t}_toProtobufKey(){return{delegatableContractId:this._toProtobuf()}}static __fromProtobufKey(t){return o._fromProtobuf(t)}}t.setDelegateContractId(t=>o.__fromProtobufKey(t));export{o as default}; //# sourceMappingURL=DelegateContractId.js.map