Пример #1
0
        public override xdr.Memo ToXdr()
        {
            var memo = new xdr.Memo();

            memo.Discriminant = MemoType.Create(MemoType.MemoTypeEnum.MEMO_NONE);
            return(memo);
        }
Пример #2
0
        public override xdr.Memo ToXdr()
        {
            var memo = new xdr.Memo();

            memo.Discriminant = MemoType.Create(MemoType.MemoTypeEnum.MEMO_TEXT);
            memo.Text         = MemoTextValue;
            return(memo);
        }
Пример #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);
        }
Пример #4
0
        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);
        }