Packages

An Elixir library for DApps development on the NEAR blockchain platform

Current section

Files

Jump to
near_api lib actions deploy_contract.ex
Raw

lib/actions/deploy_contract.ex

defmodule NearApi.Actions.DeployContract do
@moduledoc """
Transaction Actions
DeployContract
"""
@type t :: %__MODULE__{action_code: integer, code: integer}
use Borsh,
schema: [
action_code: :u8,
code: :u8
]
defstruct [:code, action_code: 1]
end