Package com.jelurida.ardor.contracts
package com.jelurida.ardor.contracts
-
ClassDescriptionThe AllForOnePayment contract is triggered every pre-defined number of blocks, sums the received transactions and sends all of the amount back to one of the payers at random.Contract for testing purposes which attempts actions allowed by the security policy and verifies that they indeed succeed.This is a helper class which loads exchange rate data from Bittrex.Monitor the blockchain for unexpected conditionsSample contract which receives amount in child chain and returns amount in parent chain according to the coin exchange order book.Sample contracts to demonstrate how to work with contract permissions.The DistributedRandomNumberGenerator is a utility contract which given a list of accounts and their weight, selects randomly one the accounts.Contract for testing purposes which attempts actions not allowed by the security policy and verifies that they indeed fail.The forging reward contract is used to reward forgers for generating blocks on the Ardor and Nxt blockchains.Sample contract to demonstrate the basic operations.Sample contract to demonstrate basic operations.IgnisArdorRates<InvocationData,
ReturnedData> This sample Oracle contract loads the Ignis per Ardor exchange rate from Bittrex and from the internal coin exchange.TODO lease renewal still needs some work don't deploy it at the moment The LeaseRenewal contract checks the existing lessors of the contract account for lease renewal.LiberlandCitizenRegistry<InvocationData,ReturnedData> Load Liberland citizen records and register them on the blockchain as account proprties This class requires JDK 11, since we still rely on JDK 8 we comment out all the JDK 11 code and replaced it with mockup data that you'll need to comment out.Sample contract which sets a property based on random selection.Sample contract which receives amount from the trigger transaction and returns a random amount between 0 and twice the received amount.Post a message to slack using a web hook.Post a message to slack using a web hook.A contact which monitors new transactions and asset trades and report alerts when high value transaction or trade is observed.