File tree Expand file tree Collapse file tree
src/transactions/builders Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ Unreleased]
9+
10+ ### Added
11+ - added Delegate Resignation Builder ([ #208 ] )
12+
813## [ 1.0.0-arduino] - 2020-02-13
914
1015### Changed
@@ -105,3 +110,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
105110[ #190 ] : https://github.com/ArkEcosystem/cpp-crypto/pull/190
106111[ #198 ] : https://github.com/ArkEcosystem/cpp-crypto/pull/198
107112[ 1.0.0-arduino ] : https://github.com/ArkEcosystem/cpp-crypto/compare/0.7.0-arduino...1.0.0-arduino
113+ [ 1.0.0 ] : https://github.com/ArkEcosystem/cpp-crypto/compare/0.7.0-arduino...1.0.0
114+ [ #208 ] : https://github.com/ArkEcosystem/cpp-crypto/pull/208
115+ [ unreleased ] : https://github.com/ArkEcosystem/cpp-crypto/compare/1.0.0-arduino...develop
Original file line number Diff line number Diff line change 1717// #include "transactions/builders/multi_signature.hpp"
1818#include " transactions/builders/ipfs.hpp"
1919#include " transactions/builders/multi_payment.hpp"
20+ #include " transactions/builders/delegate_resignation.hpp"
2021#include " transactions/builders/htlc_lock.hpp"
2122#include " transactions/builders/htlc_claim.hpp"
2223#include " transactions/builders/htlc_refund.hpp"
Original file line number Diff line number Diff line change 1+ /* *
2+ * This file is part of Ark Cpp Crypto.
3+ *
4+ * (c) Ark Ecosystem <info@ark.io>
5+ *
6+ * For the full copyright and license information, please view the LICENSE
7+ * file that was distributed with this source code.
8+ **/
9+
10+ #ifndef ARK_TRANSACTIONS_BUILDERS_DELEGATE_RESIGNATION_HPP
11+ #define ARK_TRANSACTIONS_BUILDERS_DELEGATE_RESIGNATION_HPP
12+
13+ #include " transactions/builders/common.hpp"
14+
15+ namespace Ark {
16+ namespace Crypto {
17+ namespace transactions {
18+ namespace builder {
19+
20+ // //////////////////////////////////////////////////////////////////////////////
21+ // Forward Declaration
22+ class DelegateResignation ;
23+
24+ // //////////////////////////////////////////////////////////////////////////////
25+ class DelegateResignation : public Common <DelegateResignation> {
26+ public:
27+ DelegateResignation () {
28+ this ->transaction .data .type = DELEGATE_RESIGNATION_TYPE;
29+ }
30+ };
31+
32+ } // namespace builder
33+ } // namespace transactions
34+ } // namespace Crypto
35+ } // namespace Ark
36+
37+ #endif
You can’t perform that action at this time.
0 commit comments