# Package com.jelurida.ardor.contracts

- Interface Summary
  Interface | Description
  --- | ---
  AllForOnePayment.Params |
  AllowedActions.Action |
  ChildToParentExchange.Params |
  ContractWithInnerInterface.Inner |
  ForbiddenActions.Action |
  ForgingReward.Params |
  GetRandomNumber.Params |
  HelloWorldForwarder.Params |
  IgnisArdorRates.Params |
  LeaseRenewal.Params |
  LiberlandCitizenRegistry.Params |
  NewAccountFaucet.Params |
  PropertyBasedLottery.Params |

- Class Summary
  Class | Description
  --- | ---
  AllForOnePayment | The 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.
  AllowedActions | Contract for testing purposes which attempts actions allowed by the security policy and verifies that they indeed succeed.
  BittrexRateProvider | This is a helper class which loads exchange rate data from Bittrex.
  ChildToParentExchange | Sample contract which receives amount in child chain and returns amount in parent chain according to the coin exchange order book.
  ChildToParentExchange.CoinExchangeOrders |
  ContractWithInnerInterface |
  DatabaseAccess | Sample contracts to demonstrate how to work with contract permissions.
  DistributedRandomNumberGenerator | The DistributedRandomNumberGenerator is a utility contract which given a list of accounts and their weight, selects randomly one the accounts.
  ForbiddenActions | Contract for testing purposes which attempts actions not allowed by the security policy and verifies that they indeed fail.
  ForgingReward | The forging reward contract is used to reward forgers for generating blocks on the Ardor and Nxt blockchains.
  GetRandomNumber |
  HelloWorld | Sample contract to demonstrate the basic operations.
  HelloWorldForwarder | 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.
  LeaseRenewal | 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.
  NewAccountFaucet |
  PropertyBasedLottery | Sample contract which sets a property based on random selection.
  RandomPayment | Sample contract which receives amount from the trigger transaction and returns a random amount between 0 and twice the received amount.
  SplitPayment |