Beispiel #1
0
        public override xdr.Memo ToXdr()
        {
            var memo = new xdr.Memo();

            memo.Discriminant = MemoType.Create(MemoType.MemoTypeEnum.MEMO_NONE);
            return(memo);
        }
        public override xdr.Memo ToXdr()
        {
            var memo = new xdr.Memo();

            memo.Discriminant = MemoType.Create(MemoType.MemoTypeEnum.MEMO_TEXT);
            memo.Text         = MemoTextValue;
            return(memo);
        }
Beispiel #3
0
        public override xdr.Memo ToXdr()
        {
            var memo = new xdr.Memo();

            memo.Discriminant = MemoType.Create(MemoType.MemoTypeEnum.MEMO_ID);
            var idXdr = new Uint64();

            idXdr.InnerValue = IdValue;
            memo.Id          = idXdr;
            return(memo);
        }
        public override xdr.Memo ToXdr()
        {
            var memo = new xdr.Memo();

            memo.Discriminant = MemoType.Create(MemoType.MemoTypeEnum.MEMO_RETURN);

            var hash = new Hash();

            hash.InnerValue = MemoBytes;

            memo.Hash = hash;

            return(memo);
        }