createDeployWalletBody method

Cell createDeployWalletBody({
  1. required InternalAddress ownerAddress,
  2. InternalAddress? excessAddress,
  3. BigInt? queryId,
})

Implementation

Cell createDeployWalletBody(
    {required InternalAddress ownerAddress,
    InternalAddress? excessAddress,
    BigInt? queryId}) {
  return beginCell()
      .storeUint(PtonOpCodes.DEPLOY_WALLET_V1.op, 32)
      .storeUint(queryId ?? BigInt.zero, 64)
      .storeAddress(ownerAddress)
      .endCell();
}