When a contract is accepted by contractors, a separate account is then opened for each contract in order to bring together all of the costs that relate to a particular contract, and a serial number is given to the contract which is known and addressed to as a contract account.
All expenses that incur on an account of a contract, such as materials, wages, cost of sub-contracts and so on are debited to a contract account.
In the world of cryptocurrencies, a contract account is one that has an Ether (crypto) balance and has associated code, where code execution is triggered by transactions or messages which are received from other contracts. When executed, they can also perform operations of arbitrary complexity, and manipulate their own persistent storage, which can have its own permanent state and call other contracts.
This is due to the fact that all of the action on the Ethereum blockchain sets in motion through the transactions fired from externally owned accounts. As such, every time a contract account receives a transaction, the code it has is executed as instructed by the input parameters which were sent as part of the transaction itself. The contract code is then executed by the Ethereum Virtual Machine on each one of the nodes that participate in the network as part of their verification of new blocks.
This execution, however, needs to be deterministic, and its only context is the position of the block within the blockchain as well as all of the data which is available. The blocks on the blockchain then represent units of time, where the blockchain is a temporal dimension and represents the entire history of the states as well as the discrete-time point which were designed by the blocks within the chain itself.
Related Articles
Contract
Contracts have been a huge part of the interactions between people since the dawn of time. While centuries ago, contracts were predominantly agreed upon in speech only, today, this binding agreement often takes the form of a written or electronic ...
Crypto Invoicing
Crypto invoicing allows you to create different itemized bills and invoices for the products or services you offer. It enables you to bill clients in crypto via email, without the hassle of switching between wallets and apps. As cryptocurrencies ...
Crypto Debit Card
A crypto debit card is a type of debit card that allows its holder to pay for goods and services using cryptocurrencies like Bitcoin (BTC), Litecoin (LTC) and Ethereum (ETH). Most crypto debit cards in use today are powered by Visa and MasterCard, ...
Account
A financial account is a record of the information in an accounting system related to specific assets, expenses, revenues, equity or liabilities. These records can change as events in our businesses happen. Every single transaction is stored in a ...
Cryptoasset
Cryptoassets leverage cryptography, consensus algorithms, distributed ledgers, peer-to-peer technology and/or smart contracts to function as a store of value, medium of exchange, unit of account, or decentralized application (DApp). There are four ...