Index

A B C D G I N P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AcceptanceAct - Interface in disc
Акт приемки работ по [суб]контракту.
acceptanceActs() - Method in interface disc.PaymentHistory.Entry
 
ADVANCE_PAYMENT - Enum constant in enum class disc.PaymentHistory.EntryType
Платеж по авансированию
AdvancePayment - Interface in disc
Объект представляющий собой авансирование: запланированынй платеж который автоматически производится сервисом по наступлению момента времени, см ScheduledPayment.scheduledAt()
amount() - Method in interface disc.PaymentHistory.Entry
 
approve(PrivateKey) - Method in interface disc.RepaymentContract
Подписывает и регистрирует на блокчейне операцию обмена.

B

Balance - Interface in disc
Баланс токенов, как правило принадлеэащих какому то участнику.
BlockchainContract - Interface in disc
Представляет блокчейн контракт, встроенный в конкретную сущность системы
boundTokensTotal() - Method in interface disc.Balance
 

C

ContractsException - Exception in disc.errors
 
createAcceptanceAct(Party, BigDecimal, String, String) - Method in interface disc.Party
Зарегистрировать акт для использования с ProvisionPayment, см Party.createProvisionPayment(PrivateKey, Party, BigDecimal, ZonedDateTime, String).
createAct(BigDecimal, String) - Method in interface disc.ProvisionPayment
Создать акт соответствующий данному запланированному платежу.
createAdvancePayment(PrivateKey, Party, BigDecimal, ZonedDateTime, String) - Method in interface disc.Party
Создать авансирование для другого участника.
createdAt() - Method in interface disc.AcceptanceAct
 
createParty(String, PublicKey) - Method in interface disc.Party
Создать дополнительного участника в рамках проекта (эмиссии), например субконтрактора.
createProvisionPayment(PrivateKey, Party, BigDecimal, ZonedDateTime, String) - Method in interface disc.Party
Зарезервировать платеж под обсепечение расчетов.
createRepaymentContract(PrivateKey, BigDecimal) - Method in interface disc.Party
Создать запрос на обмен свободных токенов на фиат.
customerParty() - Method in interface disc.AcceptanceAct
 

D

disc - package disc
DISC DIstributed Smart Contracts, интерфейс API.
DISC - Class in disc
Подключение к сервису, создание и просмотр объектов верхнего уровня.
DISC(String, PrivateKey) - Constructor for class disc.DISC
Подключиться к сервису по заданному адресу.
disc.errors - package disc.errors
Исключения, бросаемые из API
DISC.Event - Interface in disc
Интерфейс события в системе.
DISC.EventSubscriberId - Interface in disc
Служебный интерфейс позволяющий работать с зарегистрированными подписчиками событий.

G

getAmount() - Method in interface disc.AcceptanceAct
 
getAmount() - Method in interface disc.RepaymentContract
 
getAmount() - Method in interface disc.ScheduledPayment
 
getApiVersion() - Static method in class disc.DISC
 
getApprovedAt() - Method in interface disc.RepaymentContract
 
getBalance() - Method in interface disc.Party
 
getBlockchainContractBinary() - Method in interface disc.BlockchainContract
 
getBlockchainId() - Method in interface disc.BlockchainContract
 
getContractByBlockchainId(String) - Static method in class disc.DISC
Получить контракт из блокчейна.
getContractByBlockchainOriginId(String) - Static method in class disc.DISC
Получить самый свежий контракт из блокчейна по его корневому идентификатору.
getCreatedAt() - Method in interface disc.DISC.Event
 
getEntries() - Method in interface disc.PaymentHistory
 
getId() - Method in interface disc.Party
 
getKeyAddress() - Method in interface disc.Party
 
getName() - Method in interface disc.Party
 
getOriginBlockchainId() - Method in interface disc.BlockchainContract
 
getOwner() - Method in interface disc.PaymentHistory
 
getParty() - Method in interface disc.RepaymentContract
Участник, который запросил и подписал контракт на вывод:
getPayerParty() - Method in interface disc.ScheduledPayment
 
getPayment() - Method in interface disc.PaymentHistory.Entry
 
getPaymentHistory() - Method in interface disc.Party
 
getPublicKey() - Method in interface disc.Party
 
getRecipientParty() - Method in interface disc.ScheduledPayment
 
getRepaymentContratcs(String) - Static method in class disc.DISC
Получить список всех успешно зарегистированных контрактов на обмен на фиат для заланного идентификатора госконтракта.
getSerial() - Method in interface disc.DISC.Event
События имеют монотонно растущий номер, который можно использовать при подключении подписчика по DISC.subscribeToEventsSince(Long, Function0)
getStateContractId() - Method in interface disc.Party
Участники, как и токены, ссылаются на идентификатор госконтракта.
getStateContractId() - Method in interface disc.Token
 
getSubcontractId() - Method in interface disc.ScheduledPayment
 
getTransferredAmount() - Method in interface disc.ScheduledPayment
По наступлению событий система переводит токены на счет получателя.
getType() - Method in interface disc.PaymentHistory.Entry
 

I

initialEmission(String, String, BigDecimal, PrivateKey) - Static method in class disc.DISC
Эмиссия создает главного участника, который изначально распоряжается суммой токенов, которые исходно связаны и не могут быть обменены.
InsufficientFundsException - Exception in disc.errors
Недостаточно токенв необходимого вида для выполнения какой то операции (например, авансирования)
isApprovedByBlockchain() - Method in interface disc.BlockchainContract
 
isBound() - Method in interface disc.Token
 
isSignedByCustomer() - Method in interface disc.AcceptanceAct
 
isSignedByPerformer() - Method in interface disc.AcceptanceAct
 

N

NetworkException - Exception in disc.errors
Возникает при проблемах со связью, обычная реакция - повтор операции через какое то время

P

Party - Interface in disc
Участник системы, основная сущность, распоряжающаяся токенами, создающее участников и платежи.
PaymentHistory - Interface in disc
История исполненных платежей
PaymentHistory.Entry - Interface in disc
 
PaymentHistory.EntryType - Enum Class in disc
Вид платежа в истории
performedAt() - Method in interface disc.PaymentHistory.Entry
 
performerParty() - Method in interface disc.AcceptanceAct
 
PROVISION_PAYMENT - Enum constant in enum class disc.PaymentHistory.EntryType
 
ProvisionPayment - Interface in disc
Представление сущности токенов переданных участнику под обеспечение расчетов.

R

recalcuate() - Method in interface disc.Balance
Долгая операция.
refresh() - Method in interface disc.BlockchainContract
Получить последнюю версию контракта (и связанного с ним объекта) известную системе.
registerInBlockchain() - Method in interface disc.BlockchainContract
Зарегистрировать контракт в блокчейне.
RegistrationException - Exception in disc.errors
Исключение при неудачной регистрации в блокчейне
RepaymentContract - Interface in disc
Смартконтракт обмена токенов на рубли.

S

sample - package sample
 
Sample - Class in sample
 
Sample() - Constructor for class sample.Sample
 
scheduledAt() - Method in interface disc.ScheduledPayment
Запланированный платеж имеет дату, ранее этой даты он не может быть исполнен ни чачстивно, ни полностью, незваисимо ни от чего.
ScheduledPayment - Interface in disc
Запланированный платеж, общая часть.
signedByCustomerAt() - Method in interface disc.AcceptanceAct
 
signedByPerformerAt() - Method in interface disc.AcceptanceAct
 
signWith(PrivateKey) - Method in interface disc.AcceptanceAct
Подписать акт ключом участника, причем ключ должен принадлежать исполнителю или заказчику, если ключ не относится к контракту, выдаем исключение.
subscribeToEventsSince(Long, Function0<DISC.Event>) - Static method in class disc.DISC
Подключить подписчик на события системы, получать новые события и все прошедшие события начиная с порядкового номера.

T

Token - Interface in disc
Представление токена в системе, токены создаются в начале эмиссии DISC.initialEmission(String, String, BigDecimal, PrivateKey), после чего перемещаются между участниками высвобождаются и погашаются.

U

unboundTokensTotal() - Method in interface disc.Balance
 
unpackBlockchainContract(byte[]) - Static method in class disc.DISC
Распаковать двоичный образ смарт-контракта (годится для черновиков, т.е.
unsubscribe() - Method in interface disc.DISC.EventSubscriberId
Перестать получать события в данном обработчике.

V

valueOf(String) - Static method in enum class disc.PaymentHistory.EntryType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class disc.PaymentHistory.EntryType
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D G I N P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form