Current section
Files
Jump to
Current section
Files
lib/tradehub/tx/msg_update_profile.ex
defmodule Tradehub.Tx.MsgUpdateProfile do
use Tradehub.Tx.Type
def type, do: "profile/MsgUpdateProfile"
@type t :: %__MODULE__{
username: String.t(),
twitter: String.t(),
originator: String.t()
}
defstruct [:username, :twitter, :originator]
def validate(params) do
{:ok, params}
end
end